小编Gra*_*eca的帖子

更新文件或文件夹修改日期

我需要更新文件和文件夹的"修改日期"属性,因为它们从一个位置复制到另一个位置,以便"修改日期"=当前系统时间.我有一台装有Windows 7的PC,我没有管理权限,所以我无法安装任何自定义实用程序.我当前的bat文件使用XCOPY:

xcopy "\\sharepoint\dept\gis\Abandoned_Wire\*.*" "\\corp.dom\fs4\g1\OUTPUT\GRIDPROD\PDF\Maps\Abandon Wire Maps" /c /s /r /y /i
Run Code Online (Sandbox Code Playgroud)

在我的Windows XP盒子上,我使用来自UnxUtils的"touch"命令,但我找不到Windows 7的原生等效版本.谢谢!

cmd batch-file windows-7

3
推荐指数
2
解决办法
2万
查看次数

标签 统计

batch-file ×1

cmd ×1

windows-7 ×1