This tutorial describes How to create test files of any size in windows.
Overview
Fsutil is typically used by support professionals. Finds a file by security identifier, queries allocated ranges for a file, sets a file's short name, sets a file's valid data length, sets zero data for a file, or creates a new file.Key Ideas
Fsutil: File system utility.
File: Finds a file by its security identifier, queries allocated ranges for a
file, sets a file's short name, sets a file's valid data length, or
sets zero data for a file.
Now Do It
The following Syntax can be used to create a test file of any length.
fsutil file createnew <filename> <filesize in bytes>
For example, to create a 20 megabyte test file:
- Click on the ‘Start’ button
- In the search box type ‘cmd’
- Right-click on Command Prompt and choose ‘Run as administrator’
- Enter the following command in cmd:
fsutil file createnew c:\log.txt 20971520
5. The file will be located in the C:\
I hope this information is useful for you. Please forgive any typos or incomplete sentences.
0 comments:
Post a Comment