BleepingComputer.com: Command Prompt

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Command Prompt

#1 User is offline   crosswire1234 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 4
  • Joined: 08-March 08

Posted 08 March 2008 - 11:55 AM

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

#2 User is offline   powerjuce 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 321
  • Joined: 24-February 08
  • Gender:Male

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

#3 User is offline   Alan-LB 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 71
  • Joined: 15-January 06
  • Gender:Male
  • Location:Junee, NSW, Australia

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 :thumbsup: ]

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!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users