View Single Post
  #4  
Old January 10th 11, 10:31 AM posted to microsoft.public.windowsxp.customize,microsoft.public.windowsxp.general,microsoft.public.windowsxp.hardware,microsoft.public.windowsxp.network_web
Ulf Seibelt
external usenet poster
 
Posts: 9
Default USB drive network sharing


In your USBDLM.INI enter this:

[OnArrival10]
Letter=L
open=net share TV4_Downloads=L:\

[OnRemovalRequest10]
Letter=L
open=net share TV4_Downloads /D

This makes drive L: shared as TV4_Downloads when
it is attached. The share is deleted when it is
safely removed.




Red E. Kilowatt wrote:
Top posted:

I'm sorry I didn't see your answer sooner. I had all but given up on
finding a solution.

I've spent a lot of time trying to figure out how to apply your program
to solving my problem but aside from sorting out drive letter conflicts,
enabling autorun, and a few other features I don't see how it can enable
a network share automatically when an external drive is powered up.

Let's review what I already have.

I have a batch file named ShareTV4.bat that does this:
net share TV4_Downloads=L:/
pause

I've tried calling the batch file from autorun.inf using this command:
OPEN=AUTORUN\ShareTV4.bat

But nothing happens. I know autorun is enabled because it loads a custom
icon for the drive.

Since my first attempts didn't work I have found out that I cannot call
a batch file from autorun.inf, so I used a program called battoexe to
convert my batch file to an exe file.

I've tried calling the exe file from autorun.inf using this command:
OPEN=AUTORUN\ShareTV4.exe

But that didn't work either.

Ulf Seibelt wrote:
USBDLM can do this, it's free for private use:

http://www.uwe-sieber.de/usbdlm_e.html
http://www.uwe-sieber.de/usbdlm458_help_e.html#autorun



Red E. Kilowatt wrote:
I have multiple USB external drives connected to one computer and
shared to all others on my network. Easy enough, unless the shared
drives are not present when the computer boots, because then the
sharing is lost. My goal is to be able to turn on the drives
individually when needed
and automatically restore sharing at the same time. I've made batch
files that look like this:

net share TV4_Downloads=L:/
pause

That works fine when I run the batch file on the host but I need a
way to run the batch file automatically when the drive is powered
up. I've tried adding the batch file to the autorun folder and
adding this to the autorun.inf file:

OPEN=AUTORUN\ShareTV4.bat

But that didn't work. What am I doing wrong? Or is there an easier
way to do this?

I've looked at a program called USB Redirector, but the trial
version is limited to one drive and the paid version is too
expensive.

--- news://freenews.netfront.net/ - complaints: ---



---
news://freenews.netfront.net/ - complaints: ---
Ads