Last active
August 29, 2015 14:10
-
-
Save oakwhiz/7649ca66c3ccb039c735 to your computer and use it in GitHub Desktop.
read folder into windows disk cache (simple one-liner)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM precache files into windows disk cache | |
REM first argument should be the name of a folder | |
REM all the files will be recursively copied to nul in order to put them in the disk cache | |
FOR /R %1 %%F IN (*) DO copy /b "%%F" nul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment