Groups | Blog | Home
all groups > c# > september 2003 >

c# : command prompt default directory



Robert Blackwell
9/5/2003 10:49:17 PM
Is there a way to change the default directory of the command prompt?

Currently, when I go run>cmd..

it starts in c:\documents and settings\my username

Same with if I use the vs.net cmd prompt.

I'd like to change it to something more specific so when I go to the cmd
prompt, I don't have to navigate to a bunch of directories above, to find my
projects folder.

Thanks.

Robert Blackwell
9/6/2003 12:43:45 AM
Okay thanks, that helps a lot.

Steven Wood
9/6/2003 7:41:03 AM
Robert,

create a shortcut to cmd.exe on the desktop and right-click -> properties.

Change the 'Start In' field to the location of your choice.

Steven

---
Steven Wood

[quoted text, click to view]

AddThis Social Bookmark Button