computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,360 tips!

Windows XP and DOS

Test the Speed of Batch Files By Creating Dummy Files

SUMMARY: The CREATFIL DOS command, available for Windows XP, can help test the speed of batch files and also how applications handle low hard drive space scenarios.

Your Windows XP DOS batch file may work great when processing small images, text files, and sound files. However, how well will it work with multi-megabyte and multi-gigabyte files?

Use the CREATFIL command to easily make dummy files that can be used to test the speed of your batch files and applications. According to Microsoft's help files, CREATFIL also works well to temporarily fill up your hard drive to see how well setup programs work in low disk space situations.

To use CREATFIL, you'll first need to download and install the Windows 2003 Resource Kit.

Here is the CREATFIL syntax:

creatfil FILENAME FILESIZE

* FILENAME can be any file of your choosing

* FILESIZE is the size of the dummy file in kilobytes (the default is 1024 kilobytes, or one megabyte)

For example, the following DOS command will create a dummy file called "nonsense" that takes up 3 megabytes of hard drive space.

C:\>creatfil nonsense 3096

 

 
Add: Del.icio.us | Digg | Furl | My Yahoo!
 

Discuss This Tip

Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows XP and DOS page.


More in MalekTips:
Internet Explorer 7 MiscWindows Vista - ExplorerGoogle Image Search



Change Cache SizeCopy File or Folder Path to DOS Prompt or Windows AppSearch for Images in Various Sizes

RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Subscribe'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2008 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums