473,772 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Command Prompt

how do i change the default directory and prompt fo the the .net command prompt

for example
when i load it i wish the directory to already be desktop and the prompt to be Cmd:

thanks

WStoreyII
Jul 21 '05 #1
2 1947
You mean the command prompt that opens with the environment variables and
all that?

You can edit the scripts that opens that:

%ProgramFiles%\ Microsoft Visual Studio .NET 2003\Common7\To ols\vsvars32.ba t

Add two commands at the end of the script (or call one you write and put
somewhere else), maybe like this:

PROMPT cmd:
cd %PROFILEDIR%\De sktop

Note there's a space after the "cmd: "
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"WStoreyII" <WS*******@disc ussions.microso ft.com> wrote in message
news:49******** *************** ***********@mic rosoft.com...
how do i change the default directory and prompt fo the the .net command prompt
for example
when i load it i wish the directory to already be desktop and the prompt to be Cmd:
thanks

WStoreyII

Jul 21 '05 #2
Hello,

I tried that and it did nothing
how would i write a script somewhere else and add it
i dont know how to do this?

"Klaus H. Probst" wrote:
You mean the command prompt that opens with the environment variables and
all that?

You can edit the scripts that opens that:

%ProgramFiles%\ Microsoft Visual Studio .NET 2003\Common7\To ols\vsvars32.ba t

Add two commands at the end of the script (or call one you write and put
somewhere else), maybe like this:

PROMPT cmd:
cd %PROFILEDIR%\De sktop

Note there's a space after the "cmd: "
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"WStoreyII" <WS*******@disc ussions.microso ft.com> wrote in message
news:49******** *************** ***********@mic rosoft.com...
how do i change the default directory and prompt fo the the .net command

prompt

for example
when i load it i wish the directory to already be desktop and the prompt

to be Cmd:

thanks

WStoreyII


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2637
by: msuk | last post by:
All, I am trying to use Regasm from the command prompt and have to keep putting the full file path of where my assembley is located. Does anyone know how to set it up so wherever I run the command prompt from I can use Regasm saving entering the full path. Thanks Msuk
3
5676
by: Rog | last post by:
Yes, I am guessing that typing cmd in the run windows will bring up the command prompt, but not the vs.net command prompt. Is there a switch(s) for accessing the vs.net command prompt? Or do you get to it from the VS.net IDE? Thanks, Rog
4
2533
by: glenn | last post by:
I keep reading all sorts of books on VS that keep telling me to click on Tools/Visual Studio Command prompt to run this program or that program. However, I do not have such a menu choice. Where is this menu? thanks, glenn
4
2840
by: Thomas Johnson | last post by:
I am trying to find out how to access the VS 2003 .Net command prompt. I am trying to execute the 'csc' command against a module but have no idea where to find the command prompt. Here's a stupid question --> Could this actually be the MSDOS CMD prompt that I cann access from the start run command?? Thanks in advance. . .Tom Johnson *** Sent via Developersdex http://www.developersdex.com ***
6
17003
by: Jwolf | last post by:
I have .net 2002 edu version and when it installed there was a shortcut to the .net command prompt. My CLR disk is scratched so I can't reinstall and so I just downloaded express. I dont know how to access the command prompt so I can compile basic files from this book I'm reading. I found this really cool resource here that would save me a lot of typing by being able to sense which directory I'm in...
6
39516
by: Shooter4Life8 | last post by:
Hi, I am having trouble figureing out the best way to open a command prompt then write lines to it in VB.NET. Currently I have this code, but it execute's too fast I think because Dim psi As Object = New ProcessStartInfo psi.FileName = "cmd.exe" System.Diagnostics.Process.Start(psi) SendKeys.Send("abcdefg" & "{enter}") SendKeys.Send("12345678" & "{enter}")
9
2496
by: Endless Story | last post by:
My last version of Python was 2.4, running smoothly on XP with path c: \Python24 - no need even to include this path in PATH; everything worked as it's supposed to at the command line. Just installed Python 2.5, after uninstalling 2.4 (and also 2.3 which had lingered). Now if I open a shell in Windows Python is not available! Here are the symptoms: - If I open a shell using "Command line here" with XP Powertools, then enter "python"...
4
10514
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it doesn't seem to write to the screen in the way I would expect. The output is:
3
5116
by: kimiraikkonen | last post by:
Hi experts, I just want to ask a simple procedure of my simple form. My form has a input textbox and a button. I want this if you can help me: Application user types a command prompt command like "dir" into "textbox", then after clicking "button", command prompt(cmd) should run with the prompt that user has written already into "textbox" .
7
9372
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should display the Windows form. The form is being displayed but the command only returns when the form is closed. I want the command line to return immediately, leaving the form displayed.
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.