Batch File Help (To Create)

G

Guest

I'm trying to create a batch file to run on a computer here in our office at
a certain time but I can't get the file to work right.

I'm wanting to move the contents from "C:\Documents and
Settings\pfarmer\Desktop\Dictations and Transcriptions\Progress" to
"P:\Progress"

The "P" drive is basically on the server we use. I mapped to that directory
and named the drive "P". The real directory to that folder is
"\\Cardioserver\Public\pfarmer\Progress"

Can someone help me, Please!!

Thanks!!

Leonard W. Peacock
 
G

Guest

haha I forgot to add that bit

Here it is...

COPY
C:\Documents_and_Settings\pfarmer\Desktop\Dictations_and_Transcriptions\Progress *.* P:\Progress *.* /y
 
J

James Jones

you need to do an XCOPY

is this some sort of "backup" utility?

because if it is, i do the same thing.......


here is mine:

xcopy "C:\Documents and Settings\HP_Administrator\"
"F:\%Date:~-10,2%-%Date:~-7,2%-%Date:~-4,4%\My Documents\" /c/yq/e


mine backs up daily......seems like urs will be backing up, and overwriting


so try this:





xcopy
"C:\Documents_and_Settings\pfarmer\Desktop\Dictations_and_Transcriptions\Progress
" "P:\Progress" /c/yq/e
 
G

Guest

Looking at what you wrote does make sense.

I'm going to try it as soon as I can get her away from her computer long
enough to test it.

The reason why I never attempted the "xcopy" command on this particular task
was because HELP in MS-Dos stated that it was for copying from a floppy to a
floppy or floppy to another disk; I remember seeing "Floppy" in the statement
so I nixed that idea.

I'll let you know but I'm sure it will work. Everytime I come here for
advice, it's been very good.

Thanks again!

Leonard W. Peacock
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top