Mapped Network Drive not detected

M

Marts

I have a 3 PC network. Each PC has other PCs' drives as mapped network drives.
On one computer I have a batch file, a basic DOS style file that copies specific
files across the network from one particular computer to this one.

After I've started the computer I run the batch file. However, it says that it
can't find the network drive.

I open Windows Explorer. I see the mapped drive and I navigate to it.

I run the batch file again. This time it sees it.

Why would Windows not allow the batch file to "see" the network drive until
after I've opened it in Explorer?
 
J

Joe Phillips

Marts said:
I have a 3 PC network. Each PC has other PCs' drives as mapped network drives.
On one computer I have a batch file, a basic DOS style file that copies specific
files across the network from one particular computer to this one.

After I've started the computer I run the batch file. However, it says that it
can't find the network drive.

I open Windows Explorer. I see the mapped drive and I navigate to it.

I run the batch file again. This time it sees it.

Why would Windows not allow the batch file to "see" the network drive until
after I've opened it in Explorer?
Obvious question, but always a good place to start....the file moving in
the batch takes place after the net use right? Or are the mappings
persistant?
 
G

Guest

I have a 5 PC network here at home, and I find that it may take a few
minutes for the connection to be established, particularly if the PC is slow.
If you do file copying immediatley on bootup, the connections may yet have to
be made.

I often put a time delay in the batch file when this occurs.
 
M

Marts

Joe Phillips wrote...
Obvious question, but always a good place to start....the file moving in
the batch takes place after the net use right? Or are the mappings
persistant?

The network mapping is "permanent" in that when the computer is started the
mapped drives are reconnected at login.

Related Issue

I also have another problem in that I use Forte Agent on one PC. On the other
PC, one one in question, actually, I have Agent's data drive directed to the
data directory on the other PC. For some reason, some of the files in the data
folder are marked "read only". I right click on the folder and select
properties, then uncheck the greyed, not clear white, checkbox for Read Only.
Explorer then changes the folder's files attributes accordingly.

But, a few seconds later, if I reopen Explorer and navigate back to Agent's data
directory, the folder once more has the greyed "read only" box checked.

This is the reason for the batch files. I ended up copying the data files across
to the other computer. It's easier to manage this way.
 
M

Marts

FrankChin wrote...
I have a 5 PC network here at home, and I find that it may take a few
minutes for the connection to be established, particularly if the PC is slow.
If you do file copying immediatley on bootup, the connections may yet have to
be made.

No, it could occur minutes or hours after the computer starts up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top