Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
さまざまなサイズのファイルを作成する必要があります。8MBのものを作成するにはどうすればよいですか?
(HTAアプリケーションを作成し、ファイルサイズを指定すると便利です)
よりユーザーフレンドリーなHTAアプリケーションを作成できます。
(テキスト) ファイルを作成し、8 MB のデータを書き込みます。
dir ... 0 File(s) 0 bytes >> Dim oFS : Set oFS = CreateObject("Scripting.FileSystemObject") >> oFS.CreateTextFile("8mb.txt", True).Write String(8000000,"x") dir ... 17.12.2012 18:00 8.000.000 8mb.txt