Login scripts to substitute for Drive C:

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Due to a bad crash and odd circumstances, my boot drive is now G:\. In order
to get back my icons in Windows explorer, I have to run a login script that
uses the line subst c: G:\.
I don't know how to make such a script. I have found out where to put it and
how to call it but not how to make it. Run from command prompt after login.
Any help, please!

NCat
 
NCat,

Type it in a Notepad and save as "sub.BAT". Place the shortcut to the .BAT
file in the Startup folder.

%Allusersprofile%\Start Menu\Programs\Startup
or
%Userprofile%\Start Menu\Programs\Startup

--
Ramesh, MS-MVP XP Shell/UI
http://www.mvps.org/sramesh2k


Due to a bad crash and odd circumstances, my boot drive is now G:\. In
order
to get back my icons in Windows explorer, I have to run a login script that
uses the line subst c: G:\.
I don't know how to make such a script. I have found out where to put it and
how to call it but not how to make it. Run from command prompt after login.
Any help, please!

NCat
 
Please, I need more information. Would this script work properly:
Command
subst C: G:\
exit

Or do I need to do something else like [Shell]

All help appreciated
NCat
 
That will do.

--
Ramesh, MS-MVP XP Shell/UI
http://www.mvps.org/sramesh2k


Please, I need more information. Would this script work properly:
Command
subst C: G:\
exit

Or do I need to do something else like [Shell]

All help appreciated
NCat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top