I am embarrassed to bring this up since I had the solution before, but lost
it with a hard drive that self destructed:
I have a USB drive, which I do not use all the time, and want the network to
recognize it each time I boot it up. However, each time I use the drive I
have to reset the shares etc for the network. Is there a method of having a
network recognize a USB drive on the fly?
Windows XP Home & Professional, Windows networking and PCMACLAN.
The last time I asked this, there was a bat file that took care of it.
From a command prompt, type 'net help share' and 'net
help use' for help on how to share and map drives from a
command line. Both are easily used in batch files.
For instance, if you wanted to share your pen drive
(we'll assume your pen drive is drive e: and use the
share name "pendrive") you'd stick this in a batch file
and put a shortcut to the batch file in your startup
folder -
net share pendrive=e:\
On the workstations you'd do a different batch file -
let's assume you want the 'pendrive' share mapped as
drive p:
net use p: \\computername\pendrive
Hope this helps!
>-----Original Message-----
>I am embarrassed to bring this up since I had the
solution before, but lost
>it with a hard drive that self destructed:
>
>I have a USB drive, which I do not use all the time, and
want the network to
>recognize it each time I boot it up. However, each time
I use the drive I
>have to reset the shares etc for the network. Is there a
method of having a
>network recognize a USB drive on the fly?
>
>Windows XP Home & Professional, Windows networking and
PCMACLAN.
>
>The last time I asked this, there was a bat file that
took care of it.
>
>Thanks, all.
>
>
>.
>