0
我用Robocopy複製文件,但路徑+文件名太長,輸出過於擁擠。我只想顯示文件名(沒有路徑)。只用Robocopy打印文件名
我的命令是:
ROBOCOPY /NDL /NFL /NJH /NJS /nc /ns %path% %local% %filename%
和輸出:
100% \\storage\releases\prog\ver\file.exe
我想輸出:
100% file.exe
我見過的/FP
標誌,但其實我是想了與此相反。
/FP : Include Full Pathname of files in the output.