ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Fixed Drive Letters for Removable Drives

<< < (2/6) > >>

PhilB66:
Bill Castner discussed it in the AUMHA Forums: The Care and Feeding of USB Storage Devices in XP.

edbro:
Yeah, there really isn't any way to assign them automatically on other computers.
-f0dder (October 14, 2007, 06:21 PM)
--- End quote ---

There is if you use Powerpro. I use the following startup script:

local DrvLtr = select(pprofolder, 3) ; selects the drive letter that Powepro is running from
local string = "T: " ++ DrvLtr ; build string to send to the subst command line
local ed = DrvLtr ++ ?"powerpro\substt.exe" ; renamed subst.exe to fool restrictions on work computer
do(ed, string) ; Assigns USB drive to T:

If you had any other utility running that reported back the drive letter you could use subst.exe from a batch file.

anjan_oleti:
There is if you use Powerpro. I use the following startup script:

local DrvLtr = select(pprofolder, 3) ; selects the drive letter that Powepro is running from
local string = "T: " ++ DrvLtr ; build string to send to the subst command line
local ed = DrvLtr ++ ?"powerpro\substt.exe" ; renamed subst.exe to fool restrictions on work computer
do(ed, string) ; Assigns USB drive to T:

If you had any other utility running that reported back the drive letter you could use subst.exe from a batch file.
-edbro (October 14, 2007, 09:20 PM)
--- End quote ---

Oh! I do use PowerPro... yet, cannot figure out how to use this startup script  :-\
Could you explain it in detail please?

And, is PowerPro portable? Would be great, if it is!

edbro:
Powerpro is mostly portable as is. Just copy it over to your usb drive. You will not be able to have shell integration or tray support but most other functions work fine.

Copy my script above into a text file and name it "startup.powerpro". Then from the Scheduler tab of Powerpro Config, have it run that script at startup. My script points to a copy of subst.exe that I renamed to substt.exe because I'm not allowed to run subst.exe on my work computer. Renaming the file fools the restrictions. You probably can just point to the local copy that is already installed in all Windows machines.

Ehtyar:
Very simple way to handle this: G:\myfavapp\app.exe = \myfavapp\app.exe. Problem solved :)

Ehtyar.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version