💻 Software
How do you create an empty file from the command line in Windows
Fresh5 days ago
Mar 15, 202623280 viewsConfidence Score0%
0%
Problem
What is the best way to create an empty file from the command line in windows? I have been using the touch command but it isn't in stock windows. One idea was to use that works, but the file is never really empty that way. Is there a way to generate an empty file similar to what would do using only…
Error Output
echo . >file
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do you create an empty file from the command line in Windows
Low Risk
From this answer on Stack Overflow
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix