1.

Solve : how to "copy" using a .bat to parent directory??

Answer»

hi,
I want to USE a simple batch file to copy a given file (in the same batch file's directory) to the parent directory (of that batch file), how?
I use "copy filename.ext CD.." but doesn't WORK!
thanksDon't put the 'cd' in the copy COMMAND; it's not needed. ".." by itself is the parent directory (of the current directory, which will be the same as the batch file's location if you double-click the file in EXPLORER)copy filename.ext ..\





Discussion

No Comment Found