Now it´s arranged correcty. The chat is already tested working with Humphrey . What folder name would you wish?
This works when ran as admin I backed up, then changed to default MS theme, then restored and poof it worked Code: @echo off REM Unknown to be needed setlocal ENABLEEXTENSIONS REM Unused line rem echo. >>%IR6backup%\IR6Bkup.theme REM Creates System Environment Variable (IE run > ir6backup > enter) SETX IR6backup "%SystemDrive%\Rearm\Backup" >nul REM Caputres the value of the key that states which theme is currently applied. set KEY_NAME=HKCU\Software\Microsoft\Windows\CurrentVersion\Themes set VALUE_NAME=CurrentTheme for /F "usebackq tokens=3" %%A IN (`reg query "%KEY_NAME%" /v "%VALUE_NAME%" 2^>nul ^| find "%VALUE_NAME%"`) do ( SET themefile=%%A ) REM If ir6backup folder isn't found, make it. If not exist %IR6backup% mkdir %IR6backup% >nul Rem simple backup/restore menu made with CHOICE :choice cls Echo A) Back-Up Background/Theme Echo. Echo B) Restore Background/Theme echo. echo C) Exit Echo. choice /C ABC /N /M "Select one of the options above (A-C):" if ERRORLEVEL 3 exit if ERRORLEVEL 2 goto Restore if ERRORLEVEL 1 goto Backup REM Backup procedure. :Backup CLS REM Copies theme file from its location to the backup folder REM /V Verifies the size of each new file. REM /Y Suppresses prompting to confirm you want to overwrite an existing destination file. REM ECHO F is used to surpass the FILE or DIRECTORY prompts. echo F | xcopy "%themefile%" "%IR6backup%\IR6Bkup.theme" /Y /V >NUL GOTO CHOICE :Restore CLS REM Copies theme file from the backup folder to the correct location. REM /V Verifies the size of each new file. REM /Y Suppresses prompting to confirm you want to overwrite an existing destination file. REM ECHO F is used to surpass the FILE or DIRECTORY prompts. echo F | xcopy "%IR6backup%\IR6Bkup.theme" "C:\Windows\resources\Themes\IR6Bkup.theme" /Y >NUL REM Adds the theme file to the correct registry key.(Unknown to be required) reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes" /t REG_SZ /v CurrentTheme /d "C:\Windows\resources\Themes\IR6Bkup.theme" /f >NUL REM "Applies" theme to user environment. %IR6backup%\IR6Bkup.theme GOTO CHOICE What is that /M switch? Code: choice /C ABC /N /M
lol...What is the /M switch, I know how to set up choice code But like this better Code: set /p userinp= ^ Make your selection: set userinp=%userinp:~0,1% if /i "%userinp%"=="A" goto InstallIR6
For me it´s convenient to use the set /p option for inputting values and the choice option for menus or decisions, as i like for the latter to be answered by kitting the ppropriate button without Enter. Anyway it´s your choice here . Try out the new chat function, implemented by Humphrey. Simply start !Chat.bat and enter a name .
Ok here's what we'll do since I keep borking DB I will send you the files I have, please put them in new shared folder called D420 and send invite again and put this "chat inside" too... I won't change anything...lol
pm you and yea it's installed I just changed something and borked it Please start new folder called D420 and send invite and put pm stuff into and chat, etc... Thanks
Use this Code: :Message title IR6 mode con: cols=70 lines=7 CLS echo. echo Your 180 day free trial has ended, do you wish to install IR6 again? echo. echo. A. Install echo. B. Uninstall echo. set /p userinp= ^ Make your selection: set userinp=%userinp:~0,1% if /i "%userinp%"=="A" goto ReinstallIR6 if /i "%userinp%"=="B" goto UninstallIR6 Adjusted