shutdown.exe参数用破折号或斜杠?

我使用了shutdown.exe来重新启动安装了不同版本Windows的机器。

对于Windows XP,命令是:

 shutdown.exe -r -f -t 01 

对于我使用的其他版本的Windows:

 shutdown.exe /L /R /C /Y /T:1 

现在看来,第二个命令不能在Windows XP上运行。 有谁知道哪个版本的Windows支持斜杠和哪个破折号?

编辑:

这不是一个错误的参数问题。 以下是受影响的机器的打印输出(德语安装的Windows XP):

 Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\shutdown.exe /L /R /C /Y /T:1 Syntax: shutdown.exe [-l | -s | -r | -a] [-f] [-m \\Computer] [-t xx] [-c "Kommentar"] [-d up:xx:yy] .... 

在XPSP3和Win7上testing

shutdown.exe -r -f -t 0shutdown.exe /r /f /t 0看起来在function上是相同的,不pipe是连字符还是斜线都可以。

但是,XP / 7(US-en)都没有列出“Y”开关作为选项。 这可能是你的问题,或者这是本地化的shutdown

编辑:

额外的testing表明,注销/L和重启/R是相互排斥的选项。