DarkStalker's RANDOM.DAT Deleter
DarkStalker's (drkstlkr) RANDOM.DAT Deleter
Batch Files
Here's my two-cent contribution to the RuneScape community! :)
I wasn't sure where to post this, so please don't get angry if this post needs to be moved or deleted! :confused:
Ok, I know this place is mostly for SRL scripts, but with many people wanting an easy way to delete the RANDOM.DAT file(s), I decided to make a couple of simple DOS batch files that do it for you. Since Jagex may store the RANDOM.DAT file in numerous different folders, and different Windows versions have slightly different folder names and locations, these batch files simply scans the entire hard disk drive C:, which is the most common drive where Windows is stored, and deletes the RANDOM.DAT file(s) for you.
I personally run a dual-boot system, with Microsoft Windows Vista Ultimate 64-bit running on my hard disk drive C:, and Microsoft Windows XP Professional with Service Pack 2 32-bit edition on hard disk drive J:. Even while playing RuneScape in XP, Jagex still stores the RANDOM.DAT file on my hard disk drive C:. So, hopefully, these batch files should work for most people.
Why an ugly, text-only DOS batch file? For a few reasons:
1. Doesn't require a degree to write or edit a DOS batch file. Anyone can edit them using any text editor, such as Notepad, to suite their personal configurations and needs.
2. Compatible with almost all versions of Windows (tested and works on both Windows XP Pro w/ SP2 32-bit and Vista Ultimate 64-bit editions).
3. View with any text editor, such as Notepad, and run these batch files with confidence, knowing that these batch files won't purposefully try to sabotage your computer in any way.
Two Different Versions:
dRandomA.bat (Advanced): Scans your hard disk drive C: first and allows you to stop before deleting all of the RANDOM.DAT files found. (safer)
dRandomB.bat (Basic): Doesn't scan your hard disk drive C: and automatically deletes all of the RANDOM.DAT files found. (faster)
Since some programs use a RANDOM.DAT file to function properly, I highly recommend running "dRandomA.bat" first to see all of the RANDOM.DAT files stored on your hard disk drive C: before deciding to delete them all. You may also Google "random.dat" to see what programs may use this file. Once you can determine you don't have any programs (outside of RuneScape, of course) that uses RANDOM.DAT files, then you may use "dRandomB.bat" afterwards. However, due to the nature of these batch files, I will NOT be held responsible for any accidentally deleted files! Use at your own risk!
Please let me know what you think! :D