|
比如这样:
- rem This is the contents of Autorun.cmd.
- @echo off
- echo 32-bit ghost restore system loading...
- set /p password="Input Operation Password:"
- if "%password%"=="backup" goto :backup
- if "%password%"=="restore" goto :restore
- echo Wrong password.Press any key to restart.
- pause
- exit
- :backup
- echo Backup ready.Press any key to backup your system.
- pause
- ghost83 -clone (请自己完成此处。。。)
- exit
- :restore
- echo Restore ready.Press any key to restore your system.
- pause
- ghost83 -clone (请自己完成此处。。。)
- exit
复制代码
不过这样也存在几个弊端:
1.修改麻烦。
2.明码存放,明码显示。 |
|