A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Hardware and Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

USB drive network sharing



 
 
Thread Tools Display Modes
  #1  
Old December 24th 10, 10:33 PM posted to microsoft.public.windowsxp.customize,microsoft.public.windowsxp.general,microsoft.public.windowsxp.hardware,microsoft.public.windowsxp.network_web
Red E. Kilowatt
external usenet poster
 
Posts: 8
Default USB drive network sharing

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.

--
Red


Ads
  #2  
Old January 3rd 11, 10:50 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


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: ---
  #3  
Old January 6th 11, 11:13 PM posted to microsoft.public.windowsxp.customize,microsoft.public.windowsxp.general,microsoft.public.windowsxp.hardware,microsoft.public.windowsxp.network_web
Red E. Kilowatt
external usenet poster
 
Posts: 8
Default USB drive network sharing

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: ---


--
Red


  #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: ---
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.