无效的驱动器规格 [英] Invalid drive specification

查看:236
本文介绍了无效的驱动器规格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Dear All,



     尝试使用
XCOPY将文件复制到另一个位置时出现以下错误消息:



       消息以用户身份执行:[用户电子邮件]。无效的驱动器规格  0个文件
已复制。 处理退出代码4. 步骤失败。



这是代码



XCOPY D:\ SQL_Data \ MSSQL \DocumentsBackup \ * \\Documents\Backups / D / I / S / C / Y



  1. 我已检查两个位置上是否存在所需的文件夹

  2. 检查两个位置是否可以访问



 



    我还缺少其他任何其他内容,因为我仍然收到相同的错误消息吗?



 



     提前感谢

解决方案

使用绝对路径而不是D.



如果这篇文章对你有帮助,请标记为答案


Dear All,

      I get the following error message when trying to copy over files over to another location using XCOPY:

       Message Executed as user: [user email] . Invalid drive specification  0 File(s) copied.  Process Exit Code 4.  The step failed.

Here is the code

XCOPY D:\SQL_Data\MSSQL\DocumentsBackup\* \\Documents\Backups /D /I /S /C /Y

  1. I have checked that the required folders exist on both locations
  2. Checked that both locations can be accessed

 

   Is there anything else I'm missing as I'm still getting the same error message please?

 

    Thank you in advance!

解决方案

Use the absolute path instead of D.

Please mark as answer if this post helped you


这篇关于无效的驱动器规格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆