-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainMenu.cmd
More file actions
72 lines (43 loc) · 870 Bytes
/
Copy pathmainMenu.cmd
File metadata and controls
72 lines (43 loc) · 870 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
rem Hide cmds
@echo OFF
rem A menu driven shell script written by Michael English(1438760) and Maciej Stanczak(1426262)
color 0a
rem sets the colour to green
cls
title "Menu"
:main
echo "~~~~~~~~~~~~~~~~~~~~~"
echo " M A I N - M E N U"
echo "~~~~~~~~~~~~~~~~~~~~~"
echo 1 - Show Folder A:
echo 2 - User accounts:
echo 3 - Exit:
echo.
echo Enter choice 1 - 3:
rem user input variable
set /p menuInput=
if "%menuInput%"=="1" (
goto one
)
if "%menuInput%"=="2" (
goto two
)
if "%menuInput%"=="3" (
goto exitt
)
:one
cls
start C:\Users\mickey\Desktop\scripts\batch\A rem Open folder A in windows Explorer
call menu2.cmd
rem opens menu2 batch script
goto main
:two
cls
call userAccounts.cmd
goto main
:three
cls
Exit/b rem exit back to cmd line
:exitt
cls
Exit/b