Re: Share dissapearing after restart



With a .bat file that runs on start up.
SUBST L: D:\Folder\Folder

Pegasus (MVP) wrote:
How exactly does drive D: become drive L:?

"Rob" <rob_foster@xxxxxxxxxxx> wrote in message
news:%23it7ODCqGHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
I tried the command again here are my results
It is a second hard drive in the computer it is not a usb hd. The drive
is a D:\ drive but set for a logical L:

Pegasus (MVP) wrote:
I can see that share L: is not always present. Unfortunately
you did not appear to have executed this command:
net share L >> c:\share.txt
as I suggested, hence I can only guess what this share
is. I suspect it is a USB device that is not always present
or recognised, hence the missing share.

"Rob" <rob_foster@xxxxxxxxxxx> wrote in message
news:ORxdtMzpGHA.3288@xxxxxxxxxxxxxxxxxxxxxxx
Pegasus (MVP) wrote:
"Rob" <rob_foster@xxxxxxxxxxx> wrote in message
news:u%23VoRonpGHA.524@xxxxxxxxxxxxxxxxxxxxxxx
I have a logical drive shared and after restarting the computer the
drive is no longer shared. Any Ideas? Thanks
Do this:
1. Share your logical drive.
2. Start a Command Prompt (Start / Run / cmd {OK})
3. Type these commands:
net share >> c:\share.txt {Enter}
net share xxx >> c:\share.txt {Enter}
(where xxx is the name of your share)
4. Reboot the PC.
5. Start a Command Prompt.
6. Type these commands:
net share >> c:\share.txt {Enter}
net share xxx >> c:\share.txt {Enter}
notepad c:\share.txt {Enter}
7. Post the contents of this file into your reply.



Share name Resource Remark
-------------------------------------------------------------------------
-
-----
IPC$ Remote IPC

D$ D:\ Default share

ADMIN$ C:\WINNT Remote Admin

C$ C:\ Default share

Addressinator
C:\Program Files\Addressinator
L L:\
Office Share C:\Documents and Settings\Administrator\Desktop\Office
Share
The command completed successfully.

Share name Resource Remark
-------------------------------------------------------------------------
-
-----
IPC$ Remote IPC

D$ D:\ Default share

ADMIN$ C:\WINNT Remote Admin

C$ C:\ Default share

Addressinator
C:\Program Files\Addressinator
L L:\
Office Share C:\Documents and Settings\Administrator\Desktop\Office
Share
The command completed successfully.

Share name Resource Remark
-------------------------------------------------------------------------
-
-----
IPC$ Remote IPC

D$ D:\ Default share

ADMIN$ C:\WINNT Remote Admin

C$ C:\ Default share

Addressinator
C:\Program Files\Addressinator
Office Share C:\Documents and Settings\Administrator\Desktop\Office
Share
The command completed successfully.

Share name Resource Remark
-------------------------------------------------------------------------
-
-----
IPC$ Remote IPC

D$ D:\ Default share

ADMIN$ C:\WINNT Remote Admin

C$ C:\ Default share

Addressinator
C:\Program Files\Addressinator
Office Share C:\Documents and Settings\Administrator\Desktop\Office
Share
The command completed successfully.



.



Relevant Pages

  • Re: ie6sp1 : Repair Function Blocked - Anyone know of a fix?
    ... for command itself not to the thing it is being used to execute. ... then modifying it to do the call and append, then execute the bat file. ... Then edit dlls.bat to prefix each line with getvers and append>>versions.txt ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Share dissapearing after restart
    ... Pegasus (MVP) wrote: ... I suspect it is a USB device that is not always present ... Start a Command Prompt. ...
    (microsoft.public.win2000.networking)
  • Re: Share dissapearing after restart
    ... Pegasus (MVP) wrote: ... I suspect it is a USB device that is not always present ... Start a Command Prompt. ...
    (microsoft.public.win2000.networking)
  • Re: Need DTSRUN Utility to complete before proceeding
    ... > Also would like the bat file to fail if the DTSRUN utility fail, ... discerned at the command line prodessor. ... same when run in the scheduler as when they're run on the server under ... If you write a BAT file, ...
    (microsoft.public.sqlserver.dts)
  • Re: How do I...
    ... I initiated the BAT file from the Registry without any ... trying to get the "DOS CMD.EXE" window to either run ... >> file that contained the command worked. ...
    (microsoft.public.windowsxp.setup_deployment)