Robocopy:错误:无效参数#4:“/MT" [英] Robocopy: ERROR : Invalid Parameter #4 : "/MT"

查看:70
本文介绍了Robocopy:错误:无效参数#4:“/MT"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台使用 Windows 2008 SP2 Enterprise 的服务器,我发现安装的 Robocopy 版本缺少 MT(多线程)开关.

I have a server that I am working on that is using Windows 2008 SP2 Enterprise and I have found that the installed version of Robocopy is missing the MT (multithread) switch.

由于我使用的是企业硬件,因此拥有多个线程确实可以提高我的性能,因此我不想从我正在尝试的复制操作中移除开关.

Since I'm working with enterprise hardware, having multiple threads can really help my performance so I'd prefer not to have to remove the switch from the copy operation that I am attempting.

我不明白的是为什么安装的版本缺少这个开关,因为这是一个 2008 的 windows 实例.MT 开关是在 2008R2 中引入的吗?

What I don't understand is why the installed version is missing this switch since this is a 2008 windows instance. Was the MT switch introduced in 2008R2?

有什么方法可以安全地更新此版本的 robocopy(例如从我的其他环境之一复制可执行文件)?

Is there any way I can safely update this version of robocopy (such as copying the executable from one of my other environments)?

为了上下文目的仅提供一点背景信息,此命令是作为在 SSIS 中开发的自动备份过程的一部分发出的.这个过程在其他环境中正常执行,所以我试图建立一种用更新版本的 robocopy 升级所有旧版本的方法来维护功能.否则我将不得不根据上下文禁用包含开关,这很痛苦.

To provide just a little background for contextual purposes this command is being issued as part of an automated backup process developed in SSIS. This process executes normally in other environments, so I'm trying to establish a means of upgrading all the older versions with a more recent version of robocopy to maintain functionality. Otherwise I will have to contextually disable the inclusion of the switch which is a pain.

推荐答案

根据 Technet 上的文档/MT 参数适用于 Server 2008 R2,但不适用于 Server 2008.我不确定这是由于 robocopy 可执行文件的版本还是其他一些原因限制.

According to the documentation on Technet, the /MT parameter applies to Server 2008 R2 but not Server 2008. I'm not sure if this is due to just the version of the robocopy executable or some other restriction.

文件属性中显示的 robocopy.exe 的文件版本是什么?

What is the File Version of your robocopy.exe, as shown in the file properties?

您可以尝试提取最新的版本 Robocopy (6.1.7601)KB2639043 的内容,看看它是否适合您.不过,我发现的信息 在此线程上 表明较新版本的 Robocopy 在 Server 2008 上根本不起作用.

You might try to pull the newest version of Robocopy (6.1.7601) out of KB2639043 and see if that works for you. Though, information I found on this thread suggests that newer versions of Robocopy don't work at all on Server 2008.

这篇关于Robocopy:错误:无效参数#4:“/MT"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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