PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Networking and the Internet with Windows XP (http://www.pcbanter.net/forumdisplay.php?f=37)
-   -   USB drive network sharing (http://www.pcbanter.net/showthread.php?t=1080313)

Red E. Kilowatt December 24th 10 10:33 PM

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



Ulf Seibelt January 3rd 11 10:50 AM

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

Red E. Kilowatt January 6th 11 11:13 PM

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



Ulf Seibelt January 10th 11 10:31 AM

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


All times are GMT +1. The time now is 05:10 PM.

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