Hide Z: drive?

Having problems with a specific game or application? Post your problems here!

Hide Z: drive?

Postby emendelson » 2018-1-23 @ 17:51

The excellent Wiki says:

This Z: Drive can be largely hidden with some creative modifications to the AUTOEXEC.BAT for a more complete emulation of MS-DOS.


But it doesn't say what those creative modifications might be. I can see that I should copy COMMAND.COM and maybe a few other things to emulated drive C:, and SET COMSPEC=C:\COMMAND.COM, but I don't see any hint of what to do to hide drive Z: from (for example) the Windows 3.1 File Manager. Is there a way?

Thanks for any help.
emendelson
Oldbie
 
Posts: 744
Joined: 2010-2-14 @ 02:00

Re: Hide Z: drive?

Postby IIGS_User » 2018-1-23 @ 19:24

I hope it's not the LASTDRIVE= command. :happy:
Klimawandel.
User avatar
IIGS_User
Oldbie
 
Posts: 898
Joined: 2007-3-14 @ 19:59
Location: native_lang=ger

Re: Hide Z: drive?

Postby emendelson » 2018-1-24 @ 01:26

IIGS_User wrote:I hope it's not the LASTDRIVE= command. :happy:


It isn't, unfortunately. I also tried the LASTDRV program here:

viewtopic.php?t=32514#p268893

Drive Z: was still visible. I can certainly live with this, but I thought it might be useful to prevent users from trying to copy things to Z:....
emendelson
Oldbie
 
Posts: 744
Joined: 2010-2-14 @ 02:00

Re: Hide Z: drive?

Postby IIGS_User » 2018-1-25 @ 21:06

emendelson wrote:Drive Z: was still visible. I can certainly live with this, but I thought it might be useful to prevent users from trying to copy things to Z:....

True, I see my suggestion written above would work as fake command only, written in the AUTOEXEC section.
Klimawandel.
User avatar
IIGS_User
Oldbie
 
Posts: 898
Joined: 2007-3-14 @ 19:59
Location: native_lang=ger


Return to DOSBox Games/Apps

Who is online

Users browsing this forum: No registered users and 1 guest