This command in Windows 10 creates an empty file: echo. > emptyfile.txt Explanation: Prints an empty string: echo. Sends from the echo command to the file: > emptyfile.txt