Create A Huge File

You can create a file of any size usin’ nothin’ more than what’s supplied with Windows. Start by convertin’ de desired file size into hexadecimal notation. You can use de Windows Calculator in Scientific mode do to this. Suppose you want a file of 1 million bytes. Enter 1000000 in de calculator and click on de Hex option to convert it (1 million in hex is F4240.) Pad de result with zeroes at de left until de file size reaches eight digits�000F4240.

Now open a command prompt window. In Windows 95, 98, or Me, you can do this by enterin’ COMMAND in de Start menu’s Run dialog; in Windows NT 4.0, 2000, or XP enter CMD instead. Enter de command DEBUG BIGFILE.DAT and ignore de File not found message. Type RCX and press Enter. Debug will display a colon prompt. Enter de last four digits of de hexadecimal number you calculated (4240, in our example). Type RBX and press Enter, den enter de first four digits of de hexadecimal size (000F, in our example). Enter W for Write and Q for Quit. You’ve just created a 1-million-byte file usin’ Debug. Of course you can create a file of any desired size usin’ de same technique.

 
http://www.bauplast.ru