我正在嘗試爲用戶編寫一個簡單的密碼重置提示的.bat文件,而我需要做的最後一件事就是退出,由於某種原因而沒有執行該操作。進程在連接完成後暫停,quit命令將被忽略,並且在進程恢復之前必須手動輸入。如何在腳本中退出FTP?
以下是我有:
@echo off
Echo Password Reset Process
Pause
Echo Enter your user ID when asked
Echo ---
Echo Change your password by using this format, including the slashes:
Echo 'oldpassword/newpassword/newpassword'
Echo ---
Echo You will not be able to see what you type
Echo So proceed carefully!
Echo ---
Echo Begin Your Password Reset Now?
Pause
FTP Server.domain.org
Quit
Pause
exit
謝謝!
這樣做,非常感謝。 – XB1213