Skip to content

Commit 68f1209

Browse files
Create Custom-Settings.bat
1 parent a97d55a commit 68f1209

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

Settings/Custom-Settings.bat

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
@ECHO OFF
2+
:Start
3+
type %MYFILES%\Header.txt
4+
ECHO.
5+
ECHO.
6+
ECHO Custom settings
7+
ECHO.
8+
ECHO 1. Custom shell Location
9+
type C:\Motion-Shell\CUSTOM\CUSTOM.LOCATION
10+
ECHO.
11+
ECHO 2. Closing action
12+
type C:\Motion-Shell\CUSTOM\CLOSED.LOCATION
13+
ECHO.
14+
ECHO 3. Set as current shell
15+
ECHO 4. Install another module
16+
ECHO 5. Exit
17+
ECHO.
18+
ECHO.
19+
set /p op=Please select:
20+
if "%op%"=="1" goto CUSTOM-Location
21+
if "%op%"=="2" goto Closing
22+
if "%op%"=="3" goto Set-Shell
23+
if "%op%"=="4" goto Module
24+
if "%op%"=="5" goto end
25+
26+
:Steam-Location
27+
CLS
28+
type %MYFILES%\Header.txt
29+
ECHO.
30+
ECHO.
31+
ECHO Please select your custom.exe
32+
rem BrowseFiles
33+
ECHO|set /p=%result%>CUSTOM.LOCATION
34+
goto Start
35+
36+
:Closing
37+
CLS
38+
type %MYFILES%\Header.txt
39+
ECHO.
40+
ECHO.
41+
42+
ECHO 1. Launch Windows Shell (default)
43+
ECHO 2. Logout (recommened)
44+
ECHO 3. Launch custom program
45+
46+
set /p EXITop=Select what you would like to happen when you close Steam:
47+
48+
if "%EXITop%"=="1" goto EXITop1
49+
if "%EXITop%"=="2" goto EXITop2
50+
if "%EXITop%"=="3" goto EXITop3
51+
52+
:EXITop1
53+
SET "EXITaction=explorer.exe"
54+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
55+
goto Start
56+
57+
:EXITop2
58+
SET "EXITaction=Shutdown -l"
59+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
60+
goto Start
61+
62+
:EXITop3
63+
ECHO Please select the program you would like to be run at when your shell program is closed (if you would like to add launch paramaters you can open the CLOSED.LOCATION file using notepad)
64+
rem BrowseFiles
65+
ECHO|set /p=%result%>CLOSED.LOCATION
66+
goto Start
67+
68+
:Set-Shell
69+
call %MYFILES%\set-Shell.bat
70+
goto Start
71+
72+
73+
:Module
74+
Start C:\Motion-Shell\Motion-Settings.exe
75+
goto end
76+
77+
78+
79+
:end
80+
Exit

0 commit comments

Comments
 (0)