[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 3860 Date : 2003-02-26 Author : Garry Deane Subject : Re: Win98se Network Operation Size(KB) : 1
--- In xxcopy@yahoogroups.com, "Virg" wrote: > I don't really *need* to use the UNC reference mentioned > below but I might like to in my xxcopy backup batch files. > I also have a simple, 2 machine network. Mapping the > drives is not a problem and I do that whenever I turn > the other machine on. However, I'm curious. I thought > that, reading the post from John, I could reference the C: > drive on my other (backup) computer (with the name of > "ready") as "\\ready\c:\" in a dos command line. > So far I've been unsuccessful. I tried "cd \\ready\c:\" > and "dir \\ready\c:\" and just "\\ready\c:\". The syntax for a UNC path is \\computername\sharename[\volume]. You first have to enable File Sharing through Control Panel->Network- >File and Print Sharing. Then you must create a share for the C:\ drive called say "C" or whatever name you want to give it. You can do this through Explorer by selecting the drive (or sub-directory), then File->Properties->Sharing. I assume that you have already done something like this since you say you can map a drive. To access say C:\Windows on that computer you use: dir \\ready\c\windows Note that there is no ":", just the share name (c in this case). You can see the available computers and their shares using Network Neighborhood in Explorer. Alternately, at a DOS Prompt, type "NET VIEW" to see the list of available computernames and "NET VIEW \\computername" to see a list of available shares on that computer. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.