0

After using USBDLM to ensure my external USB hard drive is set to 'i' on my Windows XP PC (as detailed in this question), now every time I reboot, I have to re-share it so it can be seen on my network. Before, it would always be shared but the drive letter would keep changing (hence having to use USBDLM)

Is there a way to keep my external hard drive shared permanently?

andygrunt
  • 2,463

4 Answers4

1

I have no experience with this software, but my guess would be that you can create a script to do this.

Copy the following in to a new notepad window:

net share xxxxxxx=c: /remark:"yyyy"

Replace yyyy with whatever you want the comment to be, xxxxxxx with the name of the share and c: with the drive letter.

Save this file somewhere out the way with the extension .bat or .cmd

Next, go to task scheduler and set a new task for login and choose the file you just created.

I have never used USBDLM before, but if it runs under the context of your user, you may want to delay the start of this as it may run before USBDLM has done its stuff.

If you need help with task scheduler, please say and I will write it up.

William Hilsum
  • 117,648
0

Just let USBDLM do it fou you.

[OnArrival10]
Letter=I
open=net share xxxxxxx=i: /remark:"yyyy"

Letter=I is a criteria in OnArrival sections. The OnArrival sections are executed by default on user logon in the user's context.

Uwe Sieber

0

Sorry, I did not check the result of my posting. The format was destroyed...

It should look like this:

[OnArrival10]
Letter=I
open=net share xxxxxxx=i: /remark:"yyyy"

Uwe

0

I should works as shown in the sample, the position in the file in not important.
Does ListUsbDrives show section [OnArrival10] in the "Sections" line for the I: drive?

Do you see a console window poping up for a moment when the drive is attached or on startup?


Uwe