Monday, December 6, 2010

How to create a huge file?

You can create a file of any size of upto 1 GB without the use of any softwares without any contents in the file.

1) Start by converting the desired file size into hexadecimal notation. You can use the Windows Calculator in Scientific mode do to this. Suppose you want a file of 1 million bytes. 

2) Enter 1000000 in the calculator and click on the Hex option to convert it (1 million in hex is F4240.) 
Pad the result with zeroes at the left until the file size reaches eight digits—000F4240.

3) Now open a command prompt window. 


4) Enter the command DEBUG BIGFILE.DAT and ignore the File not found message. (You can create a file with any extension of your choice.)

5) Type RCX and press Enter. Debug will display a colon prompt. 

6) Enter the last four digits of the hexadecimal number you calculated (4240, in our example). 

7) Type RBX and press Enter, then enter the first four digits of the hexadecimal size (000F, in our example).

8) Enter W for Write and Q for Quit. 
You've just created a 1-million-byte file in the location as seen in command prompt window using Debug. 

Of course you can create a file of any desired size using the same technique.

0 comments:

Post a Comment