Skip to content

Commit 95d25dc

Browse files
committed
Update AutoRunWithCMD.cmd
Fixes a few issues, and most importantly, links that open in the user's default browser.
1 parent 0d7dd94 commit 95d25dc

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

AutoRunWithCMD.cmd

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ECHO.
7777

7878
:isSureofNoTutorial
7979
cls
80-
echo Alright, just go to Help (5) and then Tutorial (1) to view it if you ever want to!
80+
echo Alright, just go to Help (5) and then Tutorial (2) to view it if you ever want to!
8181
goto :MainMenu
8282

8383

@@ -90,6 +90,10 @@ echo This is a placeholder menu until I design a real one!
9090
goto :Choice
9191
echo.>MainMenuTriggered.txt
9292

93+
:ClearAndMenu
94+
@echo off
95+
cls
96+
goto :MainMenu
9397

9498
:: Some code to make choices
9599
:: NOTE TO FUTURE SELF:
@@ -121,17 +125,48 @@ goto :Choice
121125
echo.>EndOfChoiceTriggered.txt
122126

123127
:Help
128+
@echo off
129+
cls
124130
echo.
125131
title What do you need help with?
126-
echo. Hello! Select an option to get help for that topic.
132+
echo.Hello! Select an option to get help for that topic.
133+
echo.
134+
echo. 1: Back
135+
echo. 2: Tutorial (unfinished)
136+
echo. 3: Links
127137
echo.
128-
echo. 1: Tutorial (unfinished)
129-
echo. 2: Nothing yet
130138
echo.Which do you want?
131139
set /p HelpChoice=
132140
if not '%HelpChoice%'=='' set HelpChoice=%HelpChoice:~0,1%
133-
if '%HelpChoice%'=='1' goto :wantsTutorial
134-
if '%HelpChoice%'=='1' goto :Nothing
141+
if '%HelpChoice%'=='1' goto :ClearAndMenu
142+
if '%HelpChoice%'=='2' goto :wantsTutorial
143+
if '%HelpChoice%'=='3' goto :Links
144+
145+
:Links
146+
@echo off
147+
cls
148+
echo.
149+
title Liiiiinkks....
150+
echo. 1: Back
151+
echo. 2: GitHub repository for this project
152+
echo. 3: Developer's website (not garrunteed to be up)
153+
echo. 4: Developer's YouTube Channel (subscribe! :D)
154+
echo. 5: Developer's GitHub user
155+
echo. 6: Developer's Discord Server
156+
echo. 7: Developer's Twitch Channel
157+
echo.Which do you want?
158+
set /p LinkChoice=
159+
if not '%LinkChoice%'=='' set LinkChoice=%LinkChoice:~0,1%
160+
if '%LinkChoice%'=='1' goto :Help
161+
if '%LinkChoice%'=='2' start "" https://github.com/sanikdah/Ease-of-use-CMD-launch-script/tree/main/
162+
if '%LinkChoice%'=='3' start "" https://www.techflash.ga/
163+
if '%LinkChoice%'=='4' start "" https://youtube.com/channel/UCZNRlvLcjqN8nw6YO73IPOg/
164+
if '%LinkChoice%'=='5' start "" https://github.com/sanikdah/
165+
if '%LinkChoice%'=='6' start "" https://discord.com/invite/FnseMDFBH6
166+
if '%LinkChoice%'=='7' start "" https://twitch.tv/sanikdahh
167+
echo "%LinkChoice%" is not a valid option, please try again.
168+
echo.
169+
goto :Links
135170

136171
:CurlIPme
137172
@echo off

0 commit comments

Comments
 (0)