lianjiang2004, hello!
My code has been posted in two places <floor 1 and floor 7>. It's named 222.bat and placed in the root directory of drive C. After entering DOS and running 222, there's no password part appearing, and it directly executes the subsequent statements, that is, it directly displays welcome!.
Do you mean that copying choice.exe to the root directory of drive C can make 222.bat execute completely?
222.bat:
@echo off
set choice=
set /p choice= password:
IF NOT "%Choice%"=="" SET Choice=%Choice:~0,1%
if /i "%choice%"=="h" goto aa
exit
::The following part replaces the GHOST command with parameters
:aa
echo welcome!
pause
My code has been posted in two places <floor 1 and floor 7>. It's named 222.bat and placed in the root directory of drive C. After entering DOS and running 222, there's no password part appearing, and it directly executes the subsequent statements, that is, it directly displays welcome!.
Do you mean that copying choice.exe to the root directory of drive C can make 222.bat execute completely?
222.bat:
@echo off
set choice=
set /p choice= password:
IF NOT "%Choice%"=="" SET Choice=%Choice:~0,1%
if /i "%choice%"=="h" goto aa
exit
::The following part replaces the GHOST command with parameters
:aa
echo welcome!
pause
