blob: 86bb1619a4ea8b1a768089b19f82a0c969f1f305 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
@echo off
start /B wmenu.exe -elements "notepad;explorer;paint;" | more > %temp%/apps.txt
for /f "tokens=*" %%s in (%temp%\apps.txt) do (
IF "%%s"=="notepad" (
start notepad
) ELSE IF "%%s"=="explorer" (
start %%s
) ELSE IF "%%s"=="paint" (
start mspaint
) ELSE (
REM default case...
)
)
del "%temp%\apps.txt"
|