Hey,
quote:
Originally posted by Marinoman:
When I type the edit command to open index.dat from a MS-Dos Prompt while windows is loaded it opens. But when I type the command in MS-Dos index.dat wont open.
Like BadKarma explained to you, you will need edit.com in your path.
Ok very simply in windows your path is C:\windows;C:\Windows\command; add other paths here.
Edit.com lives in C:\windows\command\
In dos you have to define your path. To do that you will need to change your autoexec.bat and your autoexec.dos files.
So Open Notepad.
Now go to C:\
If they exist get Autoexec.bat and add this line.
Path=%PATH%;C:\windows;C:\Windows\command
Then save it and get Autoexec.dos and do the same thing.
If they dont exist then make them with that line.
The %PATH% adds anything already in the path to your path before adding the additions. So if you have your sound blaster path set at PATH=C:\SB
then %PATH% adds that prior to adding the new path additions.
Now reboot your computer.
Then you should have no problems finding Edit.com.
To test this after rebooting just type Path at the dos Prompt. If everything I said above is correct your screen would look like this.
C:>PATH
C:>C:\SB;C:\Windows;C:\Windows\Command
Now since Edit.com is in the Windows\command directory typing Edit from anywhere will bring up edit.com.
Does that clear it up?