Remember the magical little
. (dot)
You need to do something like this...
If the batch file, and the file to be copied are in the same directory(i.e., folder), then you can use this command, and no matter where the said batch and file are, it will work.
Code:
copy .\filename.txt C:\
HTH,
David
BTW, forgot to mention
what the little magical
. does for you. It is a way of saying look in the current directory. In other words, a wildcard for the folder that the batch file is in.