Created
September 23, 2015 05:40
-
-
Save yareally/9c1c525f66b0ae68c4eb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
:: Guides and examples can be found at: | |
:: http://forums.guru3d.com/showthread.php?t=356046 | |
:: Script needs to be set as a system startup batch file with the highest priority and system privilages to work correctly. | |
:: Init the ramdrive (6GB) in physical memory and format it as ntfs | |
imdisk -a -s 6G -m R: -p "/fs:ntfs /q /y" -o awe | |
:: add a page file starting with 96MB and expands to 1536M | |
swapadd R:\pagefile.sys 96M 1536M | |
:: make some directories | |
mkdir r:\temp | |
mkdir r:\cache\opera | |
mkdir r:\cache\firefox | |
mkdir r:\cache\chromium | |
mkdir r:\cache\slcache | |
mkdir r:\downloads | |
mkdir r:\downloads\temp_downloads | |
mkdir r:\downloads\temporary_downloads | |
mkdir r:\stuff | |
:: Intellij idea 13 cache stuff | |
mkdir r:\cache\jetbrains\IntellijIdea13\system\caches | |
mkdir r:\cache\jetbrains\IntellijIdea13\system\compiler | |
mkdir r:\cache\jetbrains\IntellijIdea13\system\compile-server | |
mkdir r:\cache\jetbrains\IntellijIdea13\system\index | |
mkdir r:\cache\jetbrains\IntellijIdea13\system\tmp | |
:: Intellij idea 14 cache stuff | |
mkdir r:\cache\jetbrains\IntellijIdea14\system\caches | |
mkdir r:\cache\jetbrains\IntellijIdea14\system\compiler | |
mkdir r:\cache\jetbrains\IntellijIdea14\system\compile-server | |
mkdir r:\cache\jetbrains\IntellijIdea14\system\index | |
mkdir r:\cache\jetbrains\IntellijIdea14\system\tmp | |
:: Gradle crap | |
mkdir r:\cache\jetbrains\.gradle | |
mkdir r:\cache\jetbrains\.yjp | |
:: Android Studio cache stuff | |
mkdir r:\cache\jetbrains\android-studio\system\caches | |
mkdir r:\cache\jetbrains\android-studio\system\compiler | |
mkdir r:\cache\jetbrains\android-studio\system\compile-server | |
mkdir r:\cache\jetbrains\android-studio\system\index | |
mkdir r:\cache\jetbrains\android-studio\system\tmp | |
:: PyCharm cache | |
mkdir r:\cache\jetbrains\pycharm\system\caches | |
mkdir r:\cache\jetbrains\pycharm\system\compiler | |
mkdir r:\cache\jetbrains\pycharm\system\compile-server | |
mkdir r:\cache\jetbrains\pycharm\system\index | |
mkdir r:\cache\jetbrains\pycharm\system\tmp | |
:: compress ram drive | |
compact /c /i /s:r:\ | |
:: label drive under My Computer | |
label r: Ramdrive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment