我正在尝试将文件从网络驱动器复制到网络上的所有计算机,但是遇到了一些问题。第一件事就是即时通讯收到此警告:
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Tuesday, June 30, 2020 9:33:31 AM
2020/06/30 09:33:33 ERROR 67 (0x00000043) Getting File System Type of Source \\108wg-fs-05\03 -
Section Folders\04 - SCM\4 - Backups" UserProfileBackup.ps1 \C$\Users\Public\Desktop \r:1 \w:0\
The network name cannot be found.
Source = \\108wg-fs-05\03 - Section Folders\04 - SCM\4 - Backups" UserProfileBackup.ps1
\C$\Users\Public\Desktop \r:1 \w:0\
Dest -
Files : *.*
Options : *.* /DCOPY:DA /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
ERROR : No Destination Directory Specified.
Simple Usage :: ROBOCOPY source destination /MIR
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.
For more usage information run ROBOCOPY /?
**** /MIR can DELETE files as well as copy them !
这些是我正在使用的2个代码 这是为了将启动脚本复制到将每台计算机连接到共享驱动器的网络上的计算机上
robocopy "\\108wg-fs-05\03 - Section Folders\04 - SCM\scripts\startupscript.vbs" "\\$cheese\c$\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" /r:1 /w:0
这是为了备份用户数据
robocopy "\\108wg-fs-05\03 - Section Folders\04 - SCM\4 - Backups\UserProfileBackup.ps1" "\\$cheese\C$\Users\Public\Desktop" /r:1 /w:0
我的目标是让每个人都能从网络驱动器中提取各自的文件,并且都给我同样的错误。有修复程序吗?