summaryrefslogtreecommitdiffstats
path: root/2-tweaks.bat
diff options
context:
space:
mode:
authorPeter2019-10-02 16:11:26 +0100
committerPeter2019-10-02 16:11:26 +0100
commitf765486590c1d9185863a7d8f6e6c5c542cc8e65 (patch)
tree282dc515c5455dff9dff24154c9f713c74c0ada1 /2-tweaks.bat
parent6457c80cd2f4bb7de9a8e0aef10e497808bbf253 (diff)
downloadwin10-prep-f765486590c1d9185863a7d8f6e6c5c542cc8e65.tar.gz
win10-prep-f765486590c1d9185863a7d8f6e6c5c542cc8e65.tar.bz2
win10-prep-f765486590c1d9185863a7d8f6e6c5c542cc8e65.zip
Fix arguments in aliases
Also add a grep alias
Diffstat (limited to '2-tweaks.bat')
-rw-r--r--2-tweaks.bat9
1 files changed, 5 insertions, 4 deletions
diff --git a/2-tweaks.bat b/2-tweaks.bat
index 877b6b5..8c6138c 100644
--- a/2-tweaks.bat
+++ b/2-tweaks.bat
@@ -13,7 +13,8 @@ rem don't require signin after wakeup
powercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
powercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_NONE CONSOLELOCK 0
rem batch file shortcuts
-echo robocopy . . /s /move > %windir%\system32\empties.bat
-echo dir /b > %windir%\system32\ls.bat
-echo del > %windir%\system32\rm.bat
-echo exit > %windir%\system32\x.bat \ No newline at end of file
+echo robocopy . . /s /move> %windir%\system32\empties.bat
+echo findstr %1> %windir%\system32\grep.bat
+echo dir /b> %windir%\system32\ls.bat
+echo del %1> %windir%\system32\rm.bat
+echo exit> %windir%\system32\x.bat \ No newline at end of file