command line – create empty text file from a batch file (via: Stack Overflow)
Posted by jpluimers on 2013/08/15
StackOverflow has [WayBack] quite a [WayBack] few questions [WayBack] on creating [WayBack] empty text files from a batch file.
Most answers involve the [WayBack] NUL special file (which is not available on one special version of Windows [WayBack] Windows Fundamentals for Legacy PCs, but can easily be retrofitted).
[WayBack] This is the solution I use most often:
type NUL > EmptyFile.txt
–jeroen
via: [WayBack] command line – How to create empty text file from a batch file? – Stack Overflow.
IL said
Ouch! Code closing tag showed up :)
jpluimers said
Fixed it.
WordPress and source code with angle brackets (greater than and less than) is often a problem. Need to find a better solution to it as it drives me nuts : even switching between text view and visual view can kill parts of your blog post.
I’ve logged numerous issues, but somehow they cannot fix it permanently: http://en.forums.wordpress.com/profile/jpluimers
–jeroen