How do I get a windows cmd terminal to start in a given directory?

Infohawk

Lifer
Jan 12, 2002
17,844
1
0
I tried to make a batch file that said:

cmd /k
cd c:\program files\mplayer

But it didn't work. :(

I want to basically click an icon, and have a terminal open up in the mplayer directory and, if possible, with a title that says mplayer.
 

Zugzwang152

Lifer
Oct 30, 2001
12,134
1
0
Originally posted by: Infohawk
I tried to make a batch file that said:

cmd /k
cd c:\program files\mplayer

But it didn't work. :(

I want to basically click an icon, and have a terminal open up in the mplayer directory and, if possible, with a title that says mplayer.

Have you Googled?
 

Steelerz37

Senior member
Feb 15, 2003
693
0
0
cmd /k cd c:\progra~1\mplayer

all on one line....should work for you....i tested it on just c:\ and it worked
 

Infohawk

Lifer
Jan 12, 2002
17,844
1
0
Originally posted by: Steelerz37
cmd /k cd c:\progra~1\mplayer

all on one line....should work for you....i tested it on just c:\ and it worked

Awesome. Thanks. :)
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
make a shortcut to cmd.exe and use the "start in" option in it's properties.