From f5c4671bfbad96bf346bd7e9a21fc4317b4959df Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 3 Dec 2022 17:00:20 +0530 Subject: Adds most of the tools --- wmenu/app.bat | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 wmenu/app.bat (limited to 'wmenu/app.bat') diff --git a/wmenu/app.bat b/wmenu/app.bat new file mode 100644 index 0000000..86bb161 --- /dev/null +++ b/wmenu/app.bat @@ -0,0 +1,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" \ No newline at end of file -- cgit v1.2.3