Skip to content

Commit 1e70f24

Browse files
authored
remove bloat, points to localappdata and echo off
1 parent 6dd12c2 commit 1e70f24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: discord.bat

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1+
@echo off
12
setlocal EnableDelayedExpansion
2-
set LookFor=Discord.exe
3-
set LookDir=C:\Users\datmobile\AppData\Local\Discord
4-
for /d %%d in (%LookDir%\*) do pushd %%d & (for %%z in (*.exe) do start %%z) & popd
3+
set LookDir=%localappdata%\Discord
4+
for /d %%d in (%LookDir%\*) do pushd %%d & (for %%z in (*.exe) do start %%z) & popd

0 commit comments

Comments
 (0)