Command line 如何使用dos命令执行循环?

Command line 如何使用dos命令执行循环?,command-line,cycle,dos,Command Line,Cycle,Dos,如何使用dos命令执行此操作: while (true) myDOSCommand sleep 5s 你说的“MS-DOS”是什么意思?你是说NT虚拟DOS机(VDM)?还是说真正的MS-DOS? :forever myDOSCommand sleep 5 goto forever

如何使用dos命令执行此操作:

while (true)
myDOSCommand
sleep 5s
你说的“MS-DOS”是什么意思?你是说NT虚拟DOS机(VDM)?还是说真正的MS-DOS?
:forever
myDOSCommand
sleep 5
goto forever