Home » Hacking Oprating Systems

Making A File Of The Size You Want

16 January 2009 No Comment

ow to make a file of the size you want ?

Let us assume you want to make a file of size 10000kbConvert it to bytes -> 10000*1024 which comes out to be 10240000 bytes
Open calculator (win key+r -> type in calc )
Choose view mode to be Scientific one
Type in 10240000 and convert it to hex it comes out to be 9C4000
Convert this value to 8 digits by padding zeroes to its left
-> so finally it comes out be 009C4000
Open Command Prompt (win key + r -> type in cmd )
Type DEBUG filename.datit’ll show file not found error ,ignore itType
RCX -> Enter -> then last four hexadecimal numbers
i.e. 4000 ->EnterType RBX -> Enter -> then first four hexadecimal numbers
i.e. 009C->EnterType W ->EnterType Q ->EnterW stands for write and Q for quitNow check the file you just made by dir command ->dir filename.datUsing the same technique you can make files as big as you wantHere is an image to show how exactly everything can be done
filesizeofchoice

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.