G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)
Have two Windows XP Pro SP2 computers on a workgroup LAN: comp1 and
comp2. Simple networking has been turned off on both. I have a
folder on comp2 shared and a drive letter on comp1 mapped to it. User
access rights were set via Security and tested using Windows Explorer.
In the Windows GUI I can copy files from comp1 to the mapped drive
using Windows Explorer without problem. I create a batch file to
xcopy the same file and when run from the GUI (double clicking) or
from a cmd prompt, it fails. Filenames appear but have 0 bytes.
"Access denied" is returned when trying from the cmd prompt .
However, if i manually copy the file from within the cmd prompt by
simply typing the command it works! I note now, however, that the
batch file is using xcopy and the manual copy used copy. I failed to
test manually using xcopy. Can anyone point me to the problem and how
to solve? Is it as simple as using copy vs xcopy? Tnx es 73!
--
Bob Felton
Have two Windows XP Pro SP2 computers on a workgroup LAN: comp1 and
comp2. Simple networking has been turned off on both. I have a
folder on comp2 shared and a drive letter on comp1 mapped to it. User
access rights were set via Security and tested using Windows Explorer.
In the Windows GUI I can copy files from comp1 to the mapped drive
using Windows Explorer without problem. I create a batch file to
xcopy the same file and when run from the GUI (double clicking) or
from a cmd prompt, it fails. Filenames appear but have 0 bytes.
"Access denied" is returned when trying from the cmd prompt .
However, if i manually copy the file from within the cmd prompt by
simply typing the command it works! I note now, however, that the
batch file is using xcopy and the manual copy used copy. I failed to
test manually using xcopy. Can anyone point me to the problem and how
to solve? Is it as simple as using copy vs xcopy? Tnx es 73!
--
Bob Felton