Tech Support > Microsoft Windows > batch file copy command
batch file copy command
Posted by Ross Deforrest on March 22nd, 2006


Hi
Sorry to jump in here, but I tried to post and it wouldn't let me.
What I want to do is create a batch file that allows me to copy my
microsoft Works .wcd file (the data file from the works calendar) from its
original location C:\Documents and Settings\All Users\Application
Data\Microsoft\Works to C:\My Documents\AURORA (a directory I have created)

Why do I want to do this? The directory AURORA is on my laptop and is
shared with a mirror directory on my PC. When I want to back up the files
on my laptop to my PC the process is no problem. The problem occurs when I
try to share the works diretory on my PC and My Laptop, since I am running
home version of xp on laptop, it is not allowed in home version to copy
files across network from Documents and settings, Windows, or Program files.
I run the works calendar on both machines, so when from my laptop I try to
back up the calendar to my PC, I am not allowed. So, I want to create a
batch file that will quickly copy that .wcd file into my AURORA directory,
which I can then copy to my PC through the wireless network.

But, when created a text file (saved as .bat) with the folowing command all
on one line . . .

Copy C:\Documents and Settings\All Users\Application
data\Microsoft\Works\mswkscal.wcd C:\My Documents\AURORA

.. . . saved the file and double clicked it, nothing happened

Is there something wrong with my path?


Posted by Pegasus \(MVP\) on March 22nd, 2006



"Ross Deforrest" <ssor@twcny.rr.com> wrote in message
news:%23AElyCWTGHA.4952@TK2MSFTNGP09.phx.gbl...
Yes, there is. How does Windows know where your source folder
name ends and the target folder name starts? It does not, unless
you surround both with double quotes (").




Similar Posts