copy changing destination current directory

May 30, 2008
9
0
While testing the parameters for a copy command, I encountered an issue. Given the current directories and contents: "C:\T" which contains several files, "G:\T" which is currently empty.

Execute the command:

copy /h /z /l /uf /s /ne /w c: g:

After the files are copied, the current directory of G: is changed from "G:\T" to "G:\". I discovered this when I immediately repeated command (F3, return) and it started deleting files in other directories.

I am using TCC 24.01.41 x64 Windows 10 [Version 10.0.17134.590]
 
Last edited: