Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to place SUBST command on XP Pro?
Message
From
22/05/2006 13:10:15
 
General information
Forum:
Windows
Category:
DOS commands
Miscellaneous
Thread ID:
01123997
Message ID:
01124001
Views:
23
>I need to assign a folder to a letter drive. As in:
>
>
>SUBST D: C:\DATA
>
>
>In DOS worlds there was AUTOEXEC.BAT file that could probably work for this command. Where would you recommend to put this command on an XP Pro machine? And it would be nice if the OS would run this command before it assigns letters to an EXTERNAL hard drive.
>
>Thank you in advance for any suggestions.

One place that's fairly easy to manage is
* For one user (e.g. yourself):
C:\Documents and Settings\< My User ID >\Start Menu\Programs\Startup\SomeBatchFile.CMD

* For all users:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup\SomeBatchFile.CMD
I don't know if you can use this to assign a drive letter before the OS gives drive letters to removable drives.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform