Computer Hope

Other => Other => Topic started by: fskkck on March 23, 2004, 07:25:29 AM

Title: How do you run an exe file is DOS?
Post by: fskkck on March 23, 2004, 07:25:29 AM
I can't get into Windows, and I have to run a check on my hard drive from DOS. The instructions for the .exe file say to double-click, but of course that won't work in DOS.  

A basic but important question for someone who doesn't know DOS that well.    ???
Title: Re: How do you run an exe file is DOS?
Post by: Teknocat on March 23, 2004, 08:43:06 AM
go to the directory that your exe is in...

e.g. if you want to run notepad.exe, in the 'windows' directory,

type cd windows
then type notepad.exe

m

Title: Re: How do you run an exe file is DOS?
Post by: Teknocat on March 23, 2004, 08:56:30 AM
or (assuming you're trying to run notepad) just type the following:

c:\windows\notepad.exe
Title: Re: How do you run an exe file is DOS?
Post by: fskkck on March 23, 2004, 09:08:27 AM
Thanks! It's so simple I completely forgot it from 15 years ago.