Using command prompt(cmd) you can create a file of any size.All th tools required are inbuilt in a normal windows computer.
PROCEDURE
First decide the size of file,if it is of size 2 million bytes,then convert it into hexa decimal form this can be acheived using the system calculator by changing the "view"to scientific and selecting the "hex" on the left most part,as you can see the hexadecimal value of 2 million bytes is "1E8480",add zeros to the left until it reaches 8 digits here "001E8480".Now open command prompt by typing cmd in run dialog.Then type the command "DEBUG BIGFILE.DAT" and neglect the file not found message.After that type RCX and hit "Enter" now type the last 4 digit of the number here it is "8480" and hit Enter then type RBX and press enter now enter the first four digit of the number here it is 001E and hit enter now press w for write and q for quit.Check the location for the created file...
NOTE:BIGFILE is the name of the new file we are creating the name can be changed to any desired name
No comments:
Post a Comment