Background:
I use up to 7 different computers a day, 4 to 5 at school, and 2 at home. I have a couple of programs that require absolute paths.
I am wondering if there is a way to make my USB Drive (80 GB Western Digital Passport) Mount on instead of the next available Drive letter (from G: to I: on differnet Computers). I've done this manually and after a reboot or after replugging, it reverts to the first available.
I'm wondering if there is some script that I can use to automount it at Drive X:.
Or would I have to use subst? I can use it, but it's not as tidy as I would like, even with a batch file. As the source path (G:, H:, etc) changes at different pcs, I would have to modify it each time to allow for this. Too much time spent. And two drive letters for one device. Or can you use a relative path is a batch file? I'm not that good at them myself, but I know the basics alright, and have experience with subst. Is there another way?
Anyone have any ideas? I'd be most appreciative.
I found a small prog here: http://www.uwe-sieber.de/usbstick_e.html
it's called ReMount. It changes the drive letter of a drive even if the drive has files in use. I made a batch file so that it always changes the drive from (any) to H: (i just like like the "H" word ). I'm not an advanced programmer, nor know much about batch scripting, but i think there has to be a batch script to make it work without having to modify the current drive letter (that's the only problem i've got so far).
besides, when the drive is remounted, it's also autostarted, as if you just pluged the usb key in. that means for me, that if i can have both programs pstart and remount at the autorun menu of winxp maybe it should work as we want it.
Well, i'm actually looking for a solution for this, since mine is just partial.
I hope at least it helps you out a bit.
PS: maybe doing a batch for each common drive (RemountD - RemountE - RemountF - Remount G) then you can choose without having to modify the script every time...
Lo importante es no dejar de hacerse preguntas. -- Albert Einstein
(What's important is not finishing making questions)
Lo importante es no dejar de hacerse preguntas. -- Albert Einstein
(What's important is not finishing making questions)
...though I prefer M: myself. M as in "Memory stick" (yes, I realize USB keys and Memory Sticks are two different things, so there's no need to go pointing that out for me. :)) Plus, there's a very low risk that M: will conflict with an existing drive. H: is highly like to conflict, what with all the computers having built-in 8-in-1 card readers nowadays. The one in my eMachines W2925 creates 4 separate drive letters! That said, I disabled it in Device Manager to free up the drive letters, since I have absolutely no use for the card reader ;).
Oh, and just for fun, here's my drive letter assignments:
Nero ImageDrive -- drive I: as in Image
iPod video 30GB -- drive L: as in Lyra--my first mp3 player
iPod photo 30GB -- drive K: (the letter before L)
iPod shuffle 1GB -- drive M: as in Memory stick
digital camera -- drive P: as in Photo
Expect a lawsuit/cease-and-desist from Sony!
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
Knowing Sony, probably in that order, too. "Sue first, ask questions later."
lol.
Somehow my driverletters are remembered most of the time now. I used a batch using moubtvol to initially change the drivelettes bacuase of this issue. But then i found the mentioned http://www.uwe-sieber.de/usbstick_e.html (and posted the info on this board) and only use this. I also posted somwhere here the link to a usb-autorun service called usbrun.exe. This you have to install on each computer, but when you have a limited number of computers it's not a big deal (can be done with a batchfile).
BTW: for enhancing batch scripts i suggest: http://internet.cybermesa.com/~bstewart/bst.html I just put all the needed tool on the stick and do something like this:
set MobileDrive=%CD%
set MobileDriveSys=%MobileDrive%\System
set PATH=%PATH%;%MobileDriveSys%
(of course with some validation stuff)
Regarding the Card reader drive letters:
I mount them into a folder on c: like C:\Cards\SD
So this doesnt use up any drive letters but is still accessable easily
I'll give ReMount a try as well as mountvol and see if either suits my needs. I just have to wait until I get out of Linux class, lol. Thank god for wine.
I'm using subst with a batch file currently (it DOES accept relative paths, just make a batch in the drive root and use "subst \") but still having two drive letters is sloppy and really does drive me insane. (Yes, a little bit OC here )
I use because it is unlikely to conflict and is easy to remember.
---
Posted in Mozilla PowerSkunk. Other Browsers run in fear!
(Brought to you by Firesomething.)
On my working place they have cut off the possebillaty to change drive signes, the most are allready taken so the usb device is reconnized but I cannot reach it cause it has a drive letter F: (presumably)
Would it somehow be possible to get an other drive letter at the momment off plugin in? I have looked at the remount app and stuf but that would work...
Any suggestion is very very welkom.
Bas