ɹəuəllıʍ ʇɐb Posted March 4, 2005 Report Share Posted March 4, 2005 I have several virtual drives which point to various folders on my system (the reason being that I can quickly switch development versions for Visual Studio). I run a script that contains several SUBST commands to define or remove these virtual drives.But ever since I had that Recycl Bin problem the other day (http://www.windowsforum.org/forum/index.php?showtopic=16718), the "corrupt recycle bin" keeps coming back for these virtual drives. I usually remove the virtual drives, then run the script that nellie2 pointed out at the time, then reboot.This usually "fixes" the problem for a few hours, and then suddenly it comes back, probably after I deleted something from a virtual drive.Question: is there any other way to define virtual drives than the SUBST command? Quote Link to comment Share on other sites More sharing options...
Agent Smith Posted March 12, 2005 Report Share Posted March 12, 2005 Hi pwilliner, I see this subject has gone unanswered for a while. So just as a thought, could you try using the "net use" command instead of subst. Obviously you will need to allow sharing on the directories you want to have as virtual drives.I think you probably already know what the context for the command is, but for other peoples benefit it is as follows at a command prompt,net use x: \\computer name\share namewhere x is the drive letter you wish to use, computer name is the network name of your computer and share name is the name of the folder you have shared ready to use as a virtual drive. Note the spaces after net, use and x:You can also use the persistant switch at the end to see if this helps ( /persistant:yes or no ).Mr. IM Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted March 13, 2005 Author Report Share Posted March 13, 2005 Good suggestion, Mr. Invincible Mouse, I will give it a try. Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted March 14, 2005 Author Report Share Posted March 14, 2005 That works nicely - thanks again! The recycle bin problems do not occur with net use.One more question: how do I remove a net use drive? subst /d ?Answer (from http://www.microsoft.com/resources/documen...us/net_use.mspx):net use with the /delete option. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.