maldivian communities
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  GalleryGallery  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 How to make a file of the size you want ?

Go down 
AuthorMessage
Jack Sparrow
Admin
Admin
Jack Sparrow


Male
Number of posts : 148
Age : 28
Location : Earth
Job/hobbies : Playing BasketBall
Humor : Joke
My Mood : How to make a file of the size you want ? Sneaky
Registration date : 2008-08-05

How to make a file of the size you want ? Empty
PostSubject: How to make a file of the size you want ?   How to make a file of the size you want ? Icon_minitimeWed Aug 20, 2008 12:08 pm

Let us assume you want to make a file of size 10000kb
Convert 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.dat
it'll show file not found error ,ignore it
Type RCX -> Enter -> then last four hexadecimal numbers i.e. 4000 ->Enter
Type RBX -> Enter -> then first four hexadecimal numbers i.e. 009C->Enter
Type W ->Enter
Type Q ->Enter

W stands for write and Q for quit

Now check the file you just made by dir command ->dir filename.dat

Using the same technique you can make files as big as you want

Here is an image to show how exactly everything can be done

How to make a file of the size you want ? Filesizeofchoicepu3
Back to top Go down
https://black-pearl.darkbb.com
 
How to make a file of the size you want ?
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
maldivian communities :: Tutorial & Knowledge Base :: Various Tutorials-
Jump to:  
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com