cdtoews Posted November 25, 2007 Share Posted November 25, 2007 a persistent drive from a filepath is able to be done with the subst command and a 1 line batch file Link to comment Share on other sites More sharing options...
James Posted November 25, 2007 Share Posted November 25, 2007 You should make this have an autorun feature. So you can login and it will automatically create one. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ako673de Posted November 25, 2007 Share Posted November 25, 2007 You should make this have an autorun feature. So you can login and it will automatically create one.You don't understand my comment. It is not that I don't know how to permanently bind a virtual drive in an NT system. The problem is, that such virtual drives collide internally with network drives, memory card drives and most probably more system mounted drives. Try to e.g. mount a virtual drive as D: and then connect a USB drive. In many cases this drive will be mounted (by NT) as drive D:, too. This is simply because NT does not know about the presence of a subst-ed drive. The workaround (remapping the USB-drive letter again and again) can be QUITE annoying! And in case of a memory card device it is even more annoying. On my laptop the drive letter of the memory card is fixed to D: and if the collision with a subst-ed drive occurs even unmounting the subst-ed drive letter does not show the memory card drive (until reboot).OK, you may say, put the subst-ed drive letter to something else than D:. Well, right, that helps - sometimes -, but don't you think that some kind of "bad smell" remains?best regardsAKo Link to comment Share on other sites More sharing options...
James Posted November 25, 2007 Share Posted November 25, 2007 Actually, I wasn't talking to you, it was a suggestion, but you can scrap it because it does it anyway. As I dont have Win NT I can't say anything as I have no idea how it works. Sorry AKo. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
ako673de Posted November 25, 2007 Share Posted November 25, 2007 Actually, I wasn't talking to you, it was a suggestion, but you can scrap it because it does it anyway. As I dont have Win NT I can't say anything as I have no idea how it works. Sorry AKo.Actually the problem affects all NT based OSses. I personally have XP SP2. People not having this type of problem have Win 98SE or older or maybe Linux... Link to comment Share on other sites More sharing options...
James Posted November 25, 2007 Share Posted November 25, 2007 Ahh right. Sorry, I understand you now. Maybe find a way of checking what drives are in use and then allow the user to select the drives that are left. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
James Posted November 25, 2007 Share Posted November 25, 2007 This has stopped working in 3.2.10.0. Any suggestions? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Danny35d Posted November 25, 2007 Share Posted November 25, 2007 This has stopped working in 3.2.10.0. Any suggestions?Open the help file, look for History \ ChangeLog and read the WARNING: To make it work again you need to change the following include and functions: OLD FUNCTION NEW FUNCTION #Include <GuiCombo.au3> #Include <GuiComboBox.au3> _GUICtrlListViewSetColumnWidth _GUICtrlListView_SetColumnWidth _GUICtrlListViewGetItemCount _GUICtrlListView_GetItemCount _GUICtrlListViewGetCheckedState _GUICtrlListView_GetItemChecked _GUICtrlListViewDeleteAllItems _GUICtrlListView_DeleteAllItems _GUICtrlListViewGetItemText _GUICtrlListView_GetItemTextString _GUICtrlComboResetContent _GUICtrlComboBox_ResetContent AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
ako673de Posted November 26, 2007 Share Posted November 26, 2007 The problem, again, is not that the autoit-script may not be able to determine which drive it can use. The problem is, that AFTER the script finished and has subst-ed to a certain drive some NT internal drive creating procedure may come along and redefine that drive letter! The result is that under certain circumstances you won't be able to access any ressources under that drive letter and in certain cases this can only be resolved with a reboot (without subst).Again to make sure: This problem has nothing to do with a script, it has to do with SUBST itself, because SUBST is not a well integrated function on NT based systems. It is some relict from DOS, and you know how "good" DOS programs run on NT, XP or the kind... Link to comment Share on other sites More sharing options...
Lurch68b Posted December 6, 2007 Share Posted December 6, 2007 Wow man! Great work! I'm so gonna use this!Just one thing... how do I make it so I can set a label to the new drive? :">Just go to your file browser, right click on the virtual drive, click on Rename from the context menu and rename. Link to comment Share on other sites More sharing options...
Lurch68b Posted December 6, 2007 Share Posted December 6, 2007 Very nice little script. I had need of something like this a while back. Link to comment Share on other sites More sharing options...
Eirik Posted July 7, 2008 Share Posted July 7, 2008 Really nice ! You have done well Keep up the good work! muttley Link to comment Share on other sites More sharing options...
DexterMorgan Posted July 7, 2008 Share Posted July 7, 2008 This is really nice muttley You are NOT a newbie.. I cant even do what you did... LOL code Link to comment Share on other sites More sharing options...
damian666 Posted July 8, 2008 Share Posted July 8, 2008 yeah, i am with konstig, i am only now on a level that i MAYBE could do that. and i use autoit for 2 years now man muttley very great job man. damian666 and proud of it!!! Link to comment Share on other sites More sharing options...
autoitwindows Posted August 27, 2008 Share Posted August 27, 2008 did u just start with autoit?? or did u do it for a while before u joined the forums?? i cant beleive thats a n00b script Link to comment Share on other sites More sharing options...
pugboy Posted August 27, 2008 Share Posted August 27, 2008 He posted this 6 months ago -.- Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now