Thursday

How to create an empty file with a large size Tips

Sometimes you might want to create some empty files with big sizes for reasons best known to you. This might be to trick someone to that your hard-drive is full, or want to use it to fill up your memory card. Following these easy steps shows you how you can create an empty file with a very large size like 1 million bytes.

First we have to convert the desired file size into bytes and then to hexadecimal notation.
To convert to bytes multiply your chosen values by:

1024 for KB 100 * 1024 for 100KB
1048576 for MB 100 * 1048576 for 100MB
1073741824 for GB 2 * 1073741824
Then we need to convert the byte equivalent to HEX, you can use the Windows Calculator in Scientific mode do to this. To use Windows calculator in scientific mode Open calculator,click on view and select Scientific instead of Simple.

Enter your byte size in the calculator and click on the Hex option to convert it to HEX. (1 million in hex is F4240.)

Pad the result with zeroes at the left until the file size reaches eight digits—000F4240.

Open Command prompt by typing “cmd” in Run.
If a pop-up window appears, SELECT
enable.
Type Command Debug BIGFILE.DAT. And Ignore the File not found message.

Type RCX and press Enter. Now Debug utility will display a colon prompt.

Enter the last four digits of the hexadecimal number you calculated. If your calculated Hex Code is 000F4240 Then you have to enter 4240.

Type RBX and press Enter, Then Enter the First four digits of the hexadecimal number you calculated. If your calculated Hex Code is 000F4240 Then you have to enter 000F.

Enter W for Write and Q for Quit.

You have just created a Empty file of 1 million bytes..You can create empty files of any size by following these easy steps. 

1 comment:

  1. Thanks for the info, though won't want to do such a thing

    ReplyDelete

Thank you for your comment