File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ goto :FirstTimeUser
74
74
75
75
:: Sets the autoRun value
76
76
:setAutoRun
77
+ @ echo off
78
+ cls
77
79
echo . Are you CERTAIN that you want to do this? It is difficult to undo!
78
80
set /p isSureOfDangerousAutoRun =
79
81
if not '%isSureOfDangerousAutoRun% '== '' set isSureOfDangerousAutoRun = %isSureOfDangerousAutoRun:~0 ,1 %
@@ -85,11 +87,14 @@ echo."%isSureOfDangerousAutoRun%" is not valid, please try again.
85
87
goto :setAutoRun
86
88
87
89
:setAutoRun2
88
- echo .This will NOT work if you have renamed the file.
89
- :goto :setAutoRun2
90
+ @ echo off
91
+ echo .This will NOT work if you have renamed the file. Will work on fixing that by 0.1!
92
+ reg add " HKCU\Software\Microsoft\Command Processor" /v AutoRun /t REG_EXPAND_SZ /d " %appdata% /Sanikdah Software/AutoRunWithCMD.cmd" /f > nul
93
+ goto :setAutoRun2
90
94
91
95
:saferSetAutoRun
92
96
@ echo off
97
+ cls
93
98
echo .This will append the directory of the file to your system PATH, so you can run it with a command.
94
99
echo .==WARNING======WARNING=====WARNING===
95
100
echo .==WARNING======WARNING=====WARNING===
@@ -436,7 +441,10 @@ set /p SettingsChoice=
436
441
if not '%SetttingsChoice% '== '' set SettingsChoice = %SettingsChoice:~0 ,1 %
437
442
if '%SettingsChoice% '== '1' goto :MainMenu
438
443
if '%SettingsChoice% '== '2' goto :color
439
- if '%SettingsChoice% '== '3' goto :FirstTimeUser1.5
444
+ if '%SettingsChoice% '== '3' (
445
+ cls
446
+ goto :FirstTimeUser1.5
447
+ )
440
448
441
449
:: A label used for when I wanted to add an option but it isn't implemented yet or is in a state where it can't be used. Or if I just haven't though of anything to put in that slot yet.
442
450
:Nothing
You can’t perform that action at this time.
0 commit comments