touch command equivalent for CMD#

In a bash shell it’s easy to create a new empty file with:

$ touch new_empty_file.txt
$ ls
new_empty_file.txt

A similar thing can be achieved in Windows command prompt (CMD) with this hack. It does throw an error but it creates the empty file anyway.

> .>new_empty_file.txt
'.' is not recognized as an internal or external command,
operable program or batch file.
> dir

 Volume in drive C is OSDisk
 Volume Serial Number is ...

 Directory of C:\...\

17/09/2024  08:12    <DIR>          .
17/09/2024  08:12    <DIR>          ..
17/09/2024  08:12                 0 new_empty_file.txt

So basically you just replace touch with .>