Created
January 3, 2024 08:32
-
-
Save slackingfred/4a70d94fe9ebee847c8b30da7fd650a6 to your computer and use it in GitHub Desktop.
Quickly create large non-sparse NTFS file for use of virtual machine disk image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Administrator privilege required | |
fsutil FILE createNew "%1" "%2" | |
fsutil FILE setValidData "%1" "%2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment