-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb-mode.bat
More file actions
51 lines (43 loc) · 823 Bytes
/
web-mode.bat
File metadata and controls
51 lines (43 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
::web-mode config
@echo off
if not "%~1"=="" (
if "%1"=="main" (
goto :web-main
) else if "%1"=="side" (
goto :web-side
) else if "%1"=="school" (
goto :web-School
)
)
set /p web-sub=Main, Side, or School Project? [main/side/school]
if /i "%web-sub%"=="main" (
set "web-sub="
goto :web-main
) else if /i "%web-sub%"=="side" (
set "web-sub="
goto :web-side
) else if /i "%web-sub%"=="school" (
set "web-sub="
goto :web-School
) else (
set "web-sub="
goto :synt-error
)
::Web Main
:web-main
echo hello
goto :end
::Web Side
:web-side
goto :end
::Web School
:web-school
goto :end
::Error Handling
:synt-error
echo Syntax Error!
echo run "ndm help" for more information
goto :end
::End of Script, Need to be on the bottom
:end
pause