Feb 6, 2012

How to Create Fake File In XP

The following post will show you how to create Fake file in windows-XP. The fake means the file will not contain any data within it and it is of no use but you can use this trick as information purpose and you can also trick your friends.

Step 1 :
Open Command Prompt (start-run-cmd)

Step 2 :
Go to the directory where you want to create fake file. Suppose here "D:\abc" folder. Your prompt will be like this "d:\abc"

Step 3 :
Type "debug filename.ext" at command prompt. Ex. We suppose creating file "fakefile.fkf", then it will show the error "File Not Found" with a hyphen on next line. Ignore this error and follow next step.

Step 4 :
Type RBX and press enter and put a 4 digit hex value (which is first 4 letter of the size of file) put 1111 for trial purpose.

Step 5:
Type RCX and press enter and put a 4 digit hex value (which is last 4 letter of the size of file) put 1111 for trial purpose.

Step 6:
Write 'w' to write the file and then at last 'q' to quit the debug mode.

You are Done. The File is ready without any contents.

How to Calculate Size of file

If you want to create 1.0 MB file then its size in bytes is 1,048,576 bytes, we have to convert this 1,048,576 bytes into a hex value.

To convert :

Open Calculator from accessories in Scientific mode.
Click on Decimal radio button and then type the size i.e 1,048,576 then click on the Hex radio button, the result show in the calculators window is the number i.e Hex size we want to use. for 1,048,576 bytes we will get 100000.
So, the assign first 4 digits to RBX value and next 4 to the RCX value.

RBX=0010 (consider 0 if number is less than 8 digits)
RCX=0000

So this was step by step article on how to create fake file in windows xp, if you have any doubts regarding this trick comment below with your problem.

3 comments:

ajinkya chavan said...

gud yr

Anonymous said...

Thanks man.
Also works in Win 7 :)

Cambay Hotels & Resorts said...

Awesome blog post information that you have shared.

php web development