Skip to main content

Create A Huge File

Create A Huge File


You can create a file of any size using nothing more than what's supplied with Windows.
 Start by converting the desired file size into hexadecimal notation.

You can use the Windows Calculator in Scientific mode do to this.

 Suppose you want a file of 1 million bytes. Enter 1000000 in the calculator and click on the Hex option to convert it (1 million in hex is F4240.) Pad the result with zeroes at the left until the file size reaches eight digits—000F4240.

Now open a command prompt window.

 In Windows vista  or windows 7 , you can do this by entering COMMAND in the Start menu's Run dialog; in Windows NT 4.0, 2000, or XP enter CMD instead.

 Enter the command DEBUG BIGFILE.DAT and ignore the File not found message. Type RCX and press Enter. Debug will display a colon prompt. 

Enter the last four digits of the hexadecimal number you calculated (4240, in our example). 

Type RBX and press Enter, then enter the first four digits of the hexadecimal size (000F, in our example). 

Enter W for Write and Q for Quit. You've just created a 1-million-byte file using Debug. 

Of course you can create a file of any desired size using the same technique.

Comments

Popular posts from this blog

Codes & Standrds for Piping

MORE THAN JUST THE NO.1 TOP 10 IN THE SOLAR SYSTEM

MORE THAN JUST THE NO.1 TOP 10 IN THE SOLAR SYSTEM SOLAR SYSTEM THE SOLAR SYSTEM,WHICH IS MORE THAN 12 BILLION  KM (7.5 BILLION MILES) ACROSS, CONSISTS OF NINE PLANETS; 61 KNOWN MOONS;VAST NUMBERS OF COMETS, ASTEROIDS, AND METEOROIDS; AND INTERPLANETARY GAS AND DUST.LATEST THEORIES SUGGEST THAT THE SOLAR SYSTEM BEGAN 4.6 BILLION YEARS AGO AS A SPINNING CLOUD OF GAS AND DUST THAT CONDENSED TO CREATE THE SUN. THE ROCKY PLANETS(MERCURY,VENUS,EARTH,AND MARS) FORMED FROM LEFTOVER MATERIAL NEAREST THE SUN, WHILE IN THE COLDER OUTER RACHES, THE GAS GAINTS (JUPITER,SATURN,URANUS,AND NEPTUNE) DEVELOPED FROM ICE,GAS AND DUST. THE SMALLEST PLANET-PLUTO- IS  NEITHER GAS GIANT NOR ROCKY PLANET; IT IS COMPOSED OF ROCK AND ICE.THE PLANETS ALL ORBIT THE SUN, FOLLOWING  ELLIPTICAL PATHS THAT ARE ON ROUGHLY THE SAME PLANE.PLUTO’S ORBIT IS NOT ONLY THE MOST ECCENTRIC (ELONGATED),BUT ALSO  THE MOST TILTED (17DEGREE).             T0P 10 LARGEST ...

seminar for civil engineering DEMOLITION OF BUILDING

DEMOLITION OF BUILDING ABSTRACT                   Demolition of a building means tearing down or falling down of a building with the help of equipments or explosives. This seminar report deals with how a demolition work is to be performed safely and also elaborates different steps involved before and during the execution of a demolition process. The various steps involved before the demolition process includes surveying, removal of hazardous materials, preparation of demolition plan, stability report and the precautionary safety measures to be taken. The main equipments used for these demolition activities are sledge hammer, excavators, bulldozers, wrecking balls etc. and main explosives used are dynamites and RDX. When explosive are used for the demolition, it is known as Implosion . CONTENTS                                       ...