subst command

  • Thread starter Thread starter Robbie Niblock
  • Start date Start date
R

Robbie Niblock

I am running an application that requires that I create a virtual drive i.e.
x: is c:\forms

I can successfully use the following command:

subst x: c:\forms

When I reboot, this x: drive disappears. How can I make this commant
persistent?

Best Regards

Robbie Niblock
 
Write a batch file (.bat) and then put it in your startup menu. Then when
you log on it run and create the drive.
To create the batch file, just create a text file using notepad with the
command in it and save it. Then remane it to whatever.bat (just change the
extension from .txt to .bat)
 
Doing that is no problem, but I thought it was a bit of a shortcut, if you
know what I mean :o)

I'll stick with that method anyway.

Thanks
 
That's the only way I know of right now. Maybe there's a "hardcode" regsitry
hack, not sure, but this way should work ok.
You're welcome.
 
Another way would be to make it a persistant "network drive". (use the
net use X: \\machine name\subdirectory method )
 

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