Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Command Prompt


  • Please log in to reply
2 replies to this topic

#1 crosswire1234

crosswire1234

  • Members
  • 4 posts
  • OFFLINE
  •  
  • Local time:01:53 PM

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

BC AdBot (Login to Remove)

 


#2 powerjuce

powerjuce

  • Members
  • 321 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:53 PM

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 Alan-LB

Alan-LB

  • Members
  • 71 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Junee, NSW, Australia
  • Local time:05:53 AM

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!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users