VOGONS


First post, by salea656

User metadata
Rank Newbie
Rank
Newbie

I want to use the old ms-dos editor with dosbox
I've added the edit.exe to c:\ drive and successfully use the command 'edit' though, when I change to a different drive , i.e. drive p:\, I can't use the 'edit' command.

How can I get edit.exe to work in all mounted drives without copying the edit.exe file to all drives?

Reply 1 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

use

set path=c:\;z:\

like you would normally in DOS.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 7, by salea656

User metadata
Rank Newbie
Rank
Newbie

I've tried using it
But sadly I don't get how it works

I'm trying to get the edit command that's on c:\edit.exe to work while i'm on any other drive as well, i.e. drive p:/
without copying edit.exe to drive p:\

Reply 3 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

that is what path does
You have to keep C:\ mounted

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 7, by salea656

User metadata
Rank Newbie
Rank
Newbie

After googling it a bit
I understand how it works
but when I use set path=c:\;z:\ I still can't get the edit command to work, only in drive c:\ it works

Reply 5 of 7, by salea656

User metadata
Rank Newbie
Rank
Newbie

Ok found out what my problem was
I had the edit.exe in root C:\
after moving it to a separate folder C:\msedit\edit.exe and having that folder in PATH, it started to work

Thank you for the command

Reply 6 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

That is odd, but glad you found a solution.

Water flows down the stream
How to ask questions the smart way!

Reply 7 of 7, by mrau

User metadata
Rank Oldbie
Rank
Oldbie
salea656 wrote:

path=c:;z:

maybe?