how to go to a particular folder and run a file in command prompt?
for example if i want to run D:\bcd folder and run bcd wxppro
Page 1 of 1
Command Prompt
#2
Posted 08 March 2008 - 01:44 PM
try this
if the app name is "wxppro.exe" then it works like this
start D:\bcd\wxppro.exe
cd D:\
cd bcd
start wxppro.exe
if the app name is "wxppro.exe" then it works like this
start D:\bcd\wxppro.exe
cd D:\
cd bcd
start wxppro.exe
#3
Posted 19 March 2008 - 10:49 PM
cd D:\ will not work
D: [will change to the D drive]
cd \bcd [will change to the bcd directory]
wxppro [will start the execution of the wxppro.exe program file]
start wxppro.exe [will also start the program but is unnecessarily longer
]
when in the command prompt type help for a full list of commands
type command /? to get help on any command - eg
cd /? [for help on the cd command]
type exit to get out of the command prompt window
Alan
D: [will change to the D drive]
cd \bcd [will change to the bcd directory]
wxppro [will start the execution of the wxppro.exe program file]
start wxppro.exe [will also start the program but is unnecessarily longer
when in the command prompt type help for a full list of commands
type command /? to get help on any command - eg
cd /? [for help on the cd command]
type exit to get out of the command prompt window
Alan
There are 10 types of people - those who understand binary and those who don't!!
Today is the Beta version of Tomorrow!
Today is the Beta version of Tomorrow!
Share this topic:
Page 1 of 1

Help

Back to top









