Actually, this is done by converting a bat to an exe using QuickBFD. A characteristic of the converted exe is that after running the exe, a batch file named bt+number.bat will be generated in the %tmp% folder, and this file has the hidden attribute. When the exe exits normally, the bat file will be deleted. Since the original poster is in a hurry, I'll post the code:
@echo off
color 2f
:start
cls
echo.
echo.
echo.
echo ==============================================================
echo.
echo Green Bodhi Secret Disk Beta Version
echo.
echo Welcome to use, please select an option (1, 2, 3, 4, 5, 6, 7)
echo.
echo 1. Open secret disk
echo 2. Close secret disk
echo 3. Create secret disk
echo 4. Delete secret disk
echo 5. Secret disk help
echo 6. About the author
echo 7. Close with X key
echo.
echo. Made by Feng Li Xue Email:jie_china@163.com
echo.
echo ==============================================================
echo.
echo.
set /p choice=
if {%choice%}=={} goto start
if /i %choice%==1 goto open
if /i %choice%==2 goto off
if /i %choice%==3 goto set
if /i %choice%==4 goto del
if /i %choice%==5 goto help
if /i %choice%==6 goto zwj
if /i %choice%==x goto shut
if /i %choice%==kill goto kill
goto start
rem ===========================Open secret disk==============================
:open
cls
echo.
echo.
echo.
echo.
echo Please enter the partition where the secret disk is located (enter "C" to open the secret disk created on drive C)
echo.
echo Return to main menu (press X key)
echo.
set /p drv=
if {%drv%}=={} goto open
if /i %drv%==X goto start
if not exist %drv%: goto nodrv
echo Please enter the password:
set /p pass1=
if {%pass1%}=={} goto pw1
if /i %pass1%==X goto start
if not exist %drv%:\Recycle\S-1-5-21-1060284298-%pass1%-13438020086-500\ goto wm
subst z: %drv%:\Recycle\S-1-5-21-1060284298-%pass1%-13438020086-500 >nul 2>nul
echo.
echo.
cls
echo.
echo.
echo Please wait... The secret disk will be automatically opened after 5 seconds
ping 127.0.0.1 -n 5 >nul 2>nul
start z: >nul 2>nul
cls
echo.
echo.
echo Secret disk opened successfully, the secret disk is drive Z, please check in "My Computer"
echo Press any key to return to the main menu
pause >nul
goto start
:wm
cls
echo.
echo.
echo The secret disk does not exist in the specified partition or the password is incorrect, press any key to return to the main menu
pause >nul
goto start
:pw1
echo The password cannot be empty, please enter the password:
set /p pass1=
if {%pass1%}=={} goto pw1
if /i %pass1%==X goto start
if not exist %drv%:\Recycle\S-1-5-21-1060284298-%pass1%-13438020086-500\ goto wm
subst z: %drv%:\Recycle\S-1-5-21-1060284298-%pass1%-13438020086-500 >nul 2>nul
start z: >nul 2>nul
cls
echo.
echo.
echo Secret disk created successfully, the secret disk is drive Z, press any key to return to the main menu
pause >nul
goto start
rem ===========================Open secret disk end===========================
rem ===========================Close secret disk===============================
:off
cls
subst z: /d
echo.
echo.
echo.
echo Secret disk closed successfully, press any key to return to the main menu
echo.
echo.
echo.
pause >nul
goto start
rem ===========================Close secret disk end===========================
rem============================Create secret disk===============================
:set
cls
echo.
echo.
echo.
echo.
echo Please enter the partition where the secret folder to be created is located (enter "C" to create the secret disk on drive C, and so on.)
echo.
echo Return to main menu (press X key)
echo.
echo.
set /p drv=
if {%drv%}=={} goto set
if /i %drv%==X goto start
if not exist %drv%: goto nodrv
if exist %drv%:\Recycle goto error
echo Please enter the password:
set /p pass2=
if {%pass2%}=={} goto pw2
if /i %pass2% ==X goto start
md %drv%:\Recycle >nul 2>nul
attrib +s +h %drv%:\Recycle >nul 2>nul
echo >>C:\tmp
echo CLSID={645FF040-5081-101B-9F08-00AA002F954E}>>C:\tmp
copy c:\tmp %drv%:\Recycle\desktop.ini >nul 2>nul
del c:\tmp >nul 2>nul
attrib +s +h %drv%:\Recycle\desktop.ini
md %drv%:\Recycle\S-1-5-21-1060284298-%pass2%-13438020086-500 >nul 2>nul
echo Secret disk created successfully, please remember the partition and password where the secret disk was created, press any key to return to the main menu
pause >nul
cls
goto start
:pw2
echo The password cannot be empty, please enter the password:
set /p pass2=
if {%pass2%}=={} goto pw2
if /i %pass2% ==X goto start
md %drv%:\Recycle >nul 2>nul
attrib +s +h %drv%:\Recycle >nul 2>nul
echo >>C:\tmp
echo CLSID={645FF040-5081-101B-9F08-00AA002F954E}>>C:\tmp
copy c:\tmp %drv%:\Recycle\desktop.ini >nul 2>nul
del c:\tmp >nul 2>nul
attrib +s +h %drv%:\Recycle\desktop.ini
md %drv%:\Recycle\S-1-5-21-1060284298-%pass2%-13438020086-500 >nul 2>nul
echo Secret disk created successfully, please remember the partition and password where the secret disk was created, press any key to return to the main menu
pause >nul
goto start
rem ==========================Create secret disk part end=======================
rem ==============================Delete secret disk=============================
:del
subst z: /d >nul 2>nul
cls
echo.
echo.
echo.
echo Please confirm that there are no secret documents in the secret disk before deleting. (Y/N)
echo.
echo Return to main menu (press X key)
echo.
set /p yesorno=
if {%yesorno%}=={} goto del
if /i %yesorno%==y goto start2del
if /i %yesorno%==n goto start
if /i %yesorno%==X goto start
goto del
:start2del
echo Please enter the partition where the secret disk is located (enter "C" to delete the secret disk created on drive C)
set /p drv=
if {%drv%}=={} goto del
if /i %drv%==X goto start
if not exist %drv%: goto nodrv
echo Please enter the password:
set /p pass3=
if {%pass3%}=={} goto pw3
if /i %pass3%==X goto start
if not exist %drv%:\Recycle\S-1-5-21-1060284298-%pass3%-13438020086-500\ goto pwfail
attrib -s -h %drv%:\Recycle\desktop.ini >nul 2>nul
del %drv%:\Recycle\desktop.ini >nul 2>nul
rd %drv%:\Recycle\S-1-5-21-1060284298-%pass3%-13438020086-500\ /q >nul 2>nul
rd %drv%:\Recycle\ /q >nul 2>nul
if exist %drv%:\Recycle\S-1-5-21-1060284298-%pass3%-13438020086-500\ goto fail
echo Deletion successful! Press any key to return to the main menu
pause >nul
goto start
:fail
cls
echo.
echo.
echo Deletion failed, there are documents in the secret disk or the secret disk does not exist.
echo >>C:\tmp
echo CLSID={645FF040-5081-101B-9F08-00AA002F954E}>>C:\tmp
copy c:\tmp %drv%:\Recycle\desktop.ini >nul 2>nul
del c:\tmp >nul 2>nul
attrib +s +h %drv%:\Recycle\desktop.ini >nul 2>nul
echo.
echo.
echo Press any key to return to the main menu
pause >nul
cls
goto start
:pw3
echo The password cannot be empty, please enter the password:
set /p pass2=
if {%pass3%}=={} goto pw3
if /i %pass3%==X goto start
attrib -s -h %drv%:\Recycle\desktop.ini >nul 2>nul
del %drv%:\Recycle\desktop.ini >nul 2>nul
if not exist %drv%:\Recycle\S-1-5-21-1060284298-%pass3%-13438020086-500\ goto fail
rd %drv%:\Recycle\S-1-5-21-1060284298-%pass3%-13438020086-500\ /q >nul 2>nul
rd %drv%:\Recycle\ /q >nul 2>nul
if exist %drv%:\Recycle\S-1-5-21-1060284298-%pass3%-13438020086-500\ goto fail
echo Deletion successful! Press any key to return to the main menu
pause >nul
goto start
:pwfail
cls
echo.
echo.
echo Password error or secret disk does not exist.
echo Press any key to return to the main menu
pause >nul
goto start
rem ==============================Delete secret disk end=========================
rem
rem ==============================Error with encrypted folder=================================
:error
echo There is already an encrypted folder in this partition, please select another partition. Press any key to return to the main menu
pause >nul
cls
goto start
rem ==============================Error end=============================
rem
rem ==============================Drive does not exist error end=============================
:nodrv
cls
echo.
echo.
echo.
echo The specified drive does not exist, press any key to return to the main menu
pause >nul
goto start
rem ==============================Error end=============================
rem ==============================Help=============================
:help
cls
echo.
echo.
echo.
echo.
echo.
echo This secret disk is suitable for XP system, I will not be responsible for any losses caused by this secret disk.
echo !! If you don't want to, you can give up using it !!
echo. Usage: 1 Create a secret disk, please remember the partition and password where the secret disk was created!!
echo. 2 Open the secret disk, the secret disk will be set as drive Z, please check in My Computer.
echo. 3 Like using other partitions, you can copy and delete.
echo. 4 After use, please close the secret disk, and the secret disk will automatically close after restart.
echo. 5 Before deleting the secret disk, you must empty the secret disk, including hidden files. Otherwise, the secret disk cannot be deleted.
echo. 6 In the secret disk, there is no need to set files as hidden.
echo.
echo This software is free software, welcome everyone to use it
echo Press any key to return to the main menu
pause >nul
goto start
rem ==============================Help end=============================
rem ==============================About the author=============================
:zwj
cls
echo.
echo.
echo.
echo.
echo.
echo This software is free software, welcome everyone to use it
echo This software is written in batch processing, the software is now in the testing stage, and there are inevitable errors.
echo Everyone is welcome to put forward valuable opinions, so that I can improve in time.
echo I don't know programming, but I am a fanatic enthusiast of batch processing, and I hope to communicate with you.
echo Email:jie_china@163.com
echo Some original works http://5690271.ys168.com
echo Message: http://free.cnyys.com/my/5690271/ly/index.asp
echo QQ:283435390
echo 2006.6.5
echo.
echo.
echo.
echo.
echo.
echo 。▍ ★∴
echo ....▍▍.. █▍ ☆ ★∵ ..../
echo ◥ Wish you █ Forever ██ Happy ██◤
echo ◥███████████████◤
echo ◥█████████████◤
echo.
echo.
echo.
echo.
echo.
echo Press any key to return to the main menu
pause >nul
goto start
rem ==============================About the author end=============================
rem ==============================Close program=============================
:shut
exit
rem ==============================Close program end=============================
rem ==============================Restore default=============================
:kill
cls
echo.
echo.
echo.
echo Please confirm that there are no important documents in the secret disk before restoring default. (Y/N)
echo !!! Forcibly deleting the possible damaged secret disks on drives C, D, E, F, G, including data!!!
echo !! Including data!! Please consider carefully! I will not be responsible
echo.
echo Return to main menu (press X key)
echo.
set /p yesorno=
if {%yesorno%}=={} goto kill
if /i %yesorno%==y goto kill2
if /i %yesorno%==n goto start
if /i %yesorno%==X goto start
goto kill
:kill2
rd c:\Recycle /s /q >nul 2>nul
rd d:\Recycle /s /q >nul 2>nul
rd e:\Recycle /s /q >nul 2>nul
rd f:\Recycle /s /q >nul 2>nul
rd g:\Recycle /s /q >nul 2>nul
echo Restoration of default successful, press any key to return to the main menu
pause >nul
goto start
rem ==============================Restore default=============================