|
set YYYYmmdd=%date:~0,4%%date:~5,2%%date:~8,2%
set hhmiss=%time:~0,2%%time:~3,2%%time:~6,2%
set "filename=%YYYYmmdd%_%hhmiss%"
net use z: //10.10.10.254/d “” /user:“”
start "" "C:\Program Files\Everything\Everything.exe" -startup
ping 127.0.0.1 -n 5
es.exe e:\*.docx>docx.txt
es.exe e:\*.xlsx>>docx.txt
for /f "delims=" %%i in (docx.txt) do (xcopy /y "%%i" "z:\kkk\%filename%\")
taskkill /f /im Everything.exe
net use /delete /y z:
东拼西凑弄的,这种方案可行吗?
大神们有什么好的方案和软件请指教。
有共享服务器系统吗?
NAS更安全可靠吗?
|
|