0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

任意のサイズのダミーファイルの作成方法(Windows環境)

0
Posted at

はじめに

コマンドで好きなサイズのダミーファイル(空のファイル)を作る方法をまとめました。
※Windowsの場合

手順

ファイルを作成したい場所でコマンドプロンプトを開き、以下のコマンドを実行

fsutil file createnew [ファイル名].[拡張子] [ファイルサイズ(バイト)]

以下のコマンドの場合、30MBの「testfile.txt」が作成される

C:\>fsutil file createnew testfile.txt 31457280

実行結果

Cドライブに30MBの「testfile.txt」が作成されました!!
ダミーファイル.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?