配合 Windows11 右键自定义插件,允许添加类似原生菜单‘发送到...U盘’的功能,调用了原生WIN API复制、移动,并非直接使用批处理命令复制、移动,好处在于遇到同名文件时能够像普通复制一样由用户自行选择处理
- fun
- CopyFiles 文件複製到...
- MoveFiles 文件移動到...
- split 當多路徑時採用的分隔符(默認,)
- paths 源文件 d:\test.txt 或 "d:\test1.txt","d:\test2.txt"(分隔符取決於上一項設置)
- tpath 目標路徑
- debug 啟用調試模式,傳任何值則會開啟,調用時自動輸出參數並且窗口不會自動關閉
- uptime 更新複製\移動的文件的創建、修改時間為當前時間
WinProxy.exe fun=CopyFiles&paths=D:\zixuan_file\use\other\file1.xls&tpath=Z:\YZX
WinProxy.exe fun=CopyFiles&paths="D:\zixuan_file\use\other\file1.xls","D:\zixuan_file\use\other\file2.xls"&tpath=Z:\YZX&debug=1