Discussion Locked

Substituting Drives Under WinME

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In Win98, I can add a line to my AutoExec.BAT File to create a Virtual Drive pointing to a Folder on my C: Drive. In WinME, my AutoExec.BAT File continues to be Cleaned out do to the REAL-MODE DOS Support being Removed from WinME. I need a work around to get the SUBST.EXE program to Load and provide me with a Virtual Drive. WinME won't allow me to map a Drive Letter to a Local Share on the Workstation. Other Workstations already map to this Drive using the Same Drive Letter that I'm attempting to SUBST as. SUBST.EXE is Shipped with WinME.

12 replies

by dmiles

This is an area that Windows Me gets away from using virtual DOS drives and does not support some dos applications,reread your manufacturer handbook and this topic will be covered.

by MGuyM

Certain Applications require Drive Letters in order to access their Data. Because of this, all Systems must see the Same Drive Letter. In a Peer-to-Peer Network using Windows 9x/Me, it's not possible to map a Network Drive to a Shared Folder on the HOST Computer so the Need for to SUBST is necessary. Short of reinstalling Win98 on the HOST Computer, I'm hoping for another Solution. Thanks.

by MGuyM

Unfortunately, NO. I'm not dealing with a Space Issue. I'm have a Network Program that requires Drive letters rather then UNC Paths. Because of this, all Workstations MUST see the Same Drive Letter. If the HOST is Sharing, it would see it as C: and the others would see it as the nexted mappable Drive (in most cases E:). The Reason for SUBST is so the HOST computer will see the application on Drive E: Also. Thanks.

by MGuyM

Thanks for your response. As much as this Patch may be a solution for the typical GEEK, it's not a solution that I can recommend to my customers to use for achieving the SUBST solution that is required.

by zamski

Ah, ok! You never said anything about your customers in your initial question. Anyway, the point of my previous post was that 16 bit DOS is alive and well in WinME and that you can get your system to boot through DOS first. HOWEVER, if that patchwas too geeky for you, here are two equally effective solutions. I recommend number 1 over number 2 (my reason will follow).

1) Why don't you just use a shortcut instead of a subst virtual drive. As far as the windows GUI is concerned, a shortcut to a directory is the same thing. You do that by right clicking on the desktop, selecting NEW, then Shortcut. Type in the path of the directory, then next, finish. You can even change the Icon to make it look like a drive.

2)Simply run your autoexec.bat or any batch file from Windows startup folder. It will execute the same as before (the only difference being that Windows will already be loaded).

by zamski

For example if your batch has the following:

subst z: c:\temp
exit

A subst virtual drive named z: will be created and then the DOS window will exit (you might have to select Properties on the DOS box and check Close on exit for the DOS box toclose by itself). If you double click on My Computer you will see a z: drive. Voila! This method has one caveat though. When you right click on the drive, Windows will place a format option in the menu. You certainly do not want your customers to be doing this! Therefore method number 1 is better as it does not do this.

By the way. There is a neat little utility that will add a Drop to Dos option when you right click on a folder. You can get this at: http://www.terabyteunlimited.com/oldsite/FREESTUF.HTM

Do I get the points??? :-)

by MGuyM

Thanks for the two tips. However, in reference to Number one, the shortcut is not possible because it's imperitive that the Drive Letters exist and are seen from DOS. The Shortcut is just that. In Regards to Number two, that's not possible eitherbecause according to Microsoft, you can't use SUBST from within Windows as Data Corruption may occur. However, in regards to this, I have E-Mail'd MS and they also suggested this method. Since this is in a Production Environment and I am asking mycustomers to do this, I have to have Definate proof that Data Corruption will NOT occur. I've asked MS for supporting Documentation that SUBST can be executed from within Windows without the potential loss of data.

If you can post confirmation as to where I can be sure that this potential corruption won't happen, the points are yours........

Thanks,

by zamski

What nonsense! SUBST works fine from within Windows 98 and ME. Why do you think Microsoft includes it with Windows 98/ME/NT/2000? Not to mention, Microsoft itself recommends (in their Knowledge Base) opening a DOS box from within win98 and using SUBST.

If you are so paranoid that you need to verify this, then do it yourself. And while you are at it, stuff your points!

by MGuyM

Obviously, you don't realize that this is a Business Situation and that it is absolutely required that we verify the Data Integrity of our customers data. Microsoft's own Help Files state that SUBST is not to be used "within" windows. You say... "Microsoft itself recommends (in their KB)opening a DOS box from within Win98 using SUBST", just point me to where I can find this. I've search and have come up empty......

As far as Points go, consider them stuffed.....

If you reply.... Thanks. If not, sorry you don't understand the situation involved. I've tried my best to explain the whole situation. ;)

This discussion is closed to new replies.