Batch file checkdisk的批处理文件

Batch file checkdisk的批处理文件,batch-file,Batch File,我想把命令sfc/scannow放在一个批处理文件中;当我执行此操作时,会出现以下错误: 另一个保养或维修操作当前正在运行。 等待此操作完成,然后再次运行sfc 批处理文件正在以管理员身份运行,我可以做什么 编辑;添加一些额外代码: :harddisk title Windows Toolkit 0.5 ~ Hard Disk Check cls echo This commando will scan your hard disks for errors. echo Please don't

我想把命令
sfc/scannow
放在一个批处理文件中;当我执行此操作时,会出现以下错误:

另一个保养或维修操作当前正在运行。 等待此操作完成,然后再次运行sfc

批处理文件正在以管理员身份运行,我可以做什么

编辑;添加一些额外代码:

:harddisk
title Windows Toolkit 0.5 ~ Hard Disk Check
cls
echo This commando will scan your hard disks for errors.
echo Please don't use the computer until it's complete.
echo Press any key to continue to check the disk...
pause >null
sfc /scannow
echo.
echo Please make a screenshot of this result and give it where asked.
echo.
echo Press any key for the menu.
pause >null
goto menu

你能提供更多的上下文吗?批处理文件中还有什么可能触发错误?我在家的时候会这样做。@我添加了“可能有帮助的东西”。是的,你为什么这么问?我会和你聊天,这样比较容易