473,395 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1917
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\Tools\vsvars32.bat

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%\Desktop

Note there's a space after the "cmd: "
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"WStoreyII" <WS*******@discussions.microsoft.com> wrote in message
news:49**********************************@microsof t.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\Tools\vsvars32.bat

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%\Desktop

Note there's a space after the "cmd: "
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"WStoreyII" <WS*******@discussions.microsoft.com> wrote in message
news:49**********************************@microsof t.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
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...
3
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...
4
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...
4
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...
6
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...
6
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...
9
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...
4
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...
3
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...
7
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.