這裡我會放一些常用的 MS-DOS Command 方便查詢,以免忘記:
Q.如何在指令列等待 n 秒?再繼續下一個 command ?
echo 請等待 n 秒...
ping -n 秒數 127.0.0.1 > nul
Q.啟動/停止/重啟遠端服務 :
sc \\{Remote IPAdress} {start|stop|restart} {Service_Name}
Q.啟動/停止/重啟遠端服務 :
sc \\{Remote IPAdress} {start|stop|restart} {Service_Name}
0 則回文:
張貼留言
welcome to write message !