Last updated 5 years ago
Was this helpful?
在Linux上,很容易实现无限循环的脚本:
while true; do echo "I will continue loop..." sleep 1 done
在Windows中,可以通过goto
goto
@echo off :begin echo "I will continue loop..." sleep 1 goto begin