network drives : Java Glossary
home N words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
network drives
When you have a LAN, it is possible to read and write drives on other machines on the local network. Because of security concerns, it generally won’t work for drives out on the Internet. There are two basic methods:
  1. With drive letter mapping. You use the Map Network Drive command to map an unused drive letter such as M: to a drive or directory in somebody else’s machine. Click My Network Neighbourhood ⇒ drill down to the machine, drive and directory ⇒ click Tools ⇒ Click Map Network Drive. Thereafter you use the letter M: as if it were a local drive.
  2. With explicit server naming. You use filenames of the form:
    \\server\sharename\directory\ file.ext
    Here is an example of a BAT file using the explicit server and share name:
    rem Using Explicit Server name.
    rem copy the G:\dl tree on the local machine to the roedyacer machine,
    rem to share name F (usually mapped to F:), and the dl directory
    rem Note, the share name has no colon, even when it represents a drive.
    xcopy G:\dl\*.*  \\roedyacer\F\dl\  /SEYD
For this to work, the owner of the drive has to do two things:
  1. Mark the drive or folder shared. He should select the drive in my computer ⇒ right click share.
  2. Under Advanced Sharing, give you permission to read and or write the drive. Without that permission, the drive will either be invisible, or will appear to be broken.

Gotchas

When either you or the machine whose drive you are using reboots, the connection is broken. It generally reestablishes the link without hassle if the server (the machine with the files) fires up first. So the simplest way to reestablish a link is to try a reboot. You can also try poking around in Network Neighbourhood using refresh to prod the connection back to life.

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.16] The information on this page is for non-military use only.
You are visitor number 1,724. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/networkdrive.html J:\mindprod\jgloss\networkdrive.html