i start cmd.exe
batch file , execute command, but: if use start cmd.exe /k
e.g. „net use“
– executes command behind /k. - , gives me default path - change it.
but how run cmd.exe
path set , execute command behind /k
? start cmd.exe - have - c:\users\xxxx
have if chande it? e.g. c:\tools\script\...
how write batch this?
try using
cd "pathname"
to correct path. example:
cd c:\tools\script
you can show folders using command
dir
furthermore cmd.exe automatically used if try execute .bat file believe. changing normal path used can edit settings shown in picture:
for more funcitons here: http://www.computerhope.com/overview.htm
Comments
Post a Comment