Skip to main content

Create an empty huge file in windows for fun from the command prompt

This trick is just used to create a file which contains no data but of any size you want it to be.

First you will have to convert the size of the file in to hexadecimal notation.
For example, if you want to create a file of size 2000bytes, then convert it into hexadecimal. Use the windows calculator in the scientific calculator mode to convert 2000 bytes in to hexadecimal number.

2000 converted to hexadecimal number will give 7D0.

Now open the command prompt(run > cmd).

Navigate to the folder where you want to create the file.

Input the command debug filename.extension and hit enter. (Do not use the file name of any of the files in that directory)

You will obviously get a file not found error, just ignore it.

The filename can be any file name and you can give any extension you like. Note that there is a space between debug and the filename.

In our case the hexadecimal number was 7D0, now put zeros in front of it in such a way that finally the hexadecimal number consists of 8 digits.

That is 000007D0.

Now, enter rcx in the command prompt after debug command and hit enter.

You will get a prompt with a colon.

Now enter the last four digits of the hexadecimal number we have got.

That is 07D0 and hit enter.

Now type rbx and then hit enter.

Now type the first four hexadeximal numbers at the colon prompt.

That is 0000 in our case.

Now type w and hit enter to write the file of 2000 bytes.

Type q and then hit enter to quit the file.

Use this technique to create any file of any size you need. Note that the file will not contain any kind of data, just junk.


Popular posts from this blog

How to Increase Internal Memory Space in Any Android phone – Without Rooting your Phone.

Although there is no risk involved in this Process, this gives you opportunity to Move Applications between Your Internal Memory and Memory card (SD Card).But make sure you don’t move the Applications which use Widgets to the SD Card because they Widgets will stop working when you Plug in to your PC and Use the Phone in Mass Storage Mode. (The SD Card will the Disconnected from the Phone). Just use your Common Sense and you are done. You will have to do some Command Prompt stuff now, but don’t worry;it’s very simple and easy. Step 1: Install JDK and then Install Android SDK. (Just Google for them, they are freeware) After Installing run Android SDK Manager. Select Android SDK Platform Tools (Uncheck anything else) and Click Install 1 Package. Step 2: Enable USB Debugging in your Phone in Settings > Applications > Development. Step 3: Type cmd in  start menu and when cmd.exe shows up in search results, right click it and select "Run as Administrator&quo

How to enable logging in IP Messenger?

How to enable logging in IP Messenger? You can enable logging to view conversations later in IP messenger. First Create a text document using notepad in the place where you want to have the log file containing the text you send and receive. Right click the system tray icon of IP messenger and select Settings. Click on Details/Log Settings. Under the Log settings , specify the log text file you created earlier. Do check the Logging available check box. And other details to be logged. ( Check all text boxes if needed) Apply settings and close. Enjoy!!!!

How to enable / disable JavaScript in SeaMonkey

For enabling and disabling JavaScript you need an add-on for SeaMonkey called quick java . You can download this free add-on from mozdev.org or just Google for it. After installation you will be able to see two buttons near the progress bar, for enabling and disabling JavaScript and java. Just click on the buttons to disable and enable JavaScript or java. There will be separate buttons for java and JavaScript.