I would like to use xcopy to copy a folder with subfolders and enclosed
files, most of which are encrypted by the XP limited user, with the
destination a usb drive sometimes connected to the laptop.
so far my batch file generates a "file not found" error. Can that message
be generated by a permission problem? (or have I somehow miscoded the
path/name)?
There is an xcopy parameter that causes XCOPY to unencrypt the source file.
how and why does this work (if it works) on source files encrypted by a
limited XP user account when the batch file is executed by another user(even
administrator)? Wouldn't that be a pretty obvious security loophole?
"airwalker" wrote:
> Hi.
>
> I've been asked to create a batch file that will copy the contents of one
> folder that sits on one server to another folder that sits on another server.
> This has to be done every night around 9pm.
>
> I've never created a batch file before but so far I've found how to copy the
> contents of a folder to another folder on the same machine:
>
> @echo on
> xcopy c:\TestSource c:\TestDestination /m /e /y
>
> how would I modify this to copy files to a folder that sits on another server
>
> thanks in advance. >> Stay informed about: Batch File to transer files from one server to another