I found a command to create a new text file with contents using:
copy con file.txt Hello World
It works similar to
touch in Linux. However the
con parameter is not listed in TechNet. Where can I find more information about this command?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Of course, the TechNet web page is usually the most comprehensive source for information like this. Another good source is SS64.com
Edit by barlop
Run5K wrote in comment "The reference I posted specifically mentions the Copy from the console command http://ss64.com/nt/copy.html within the Copy syntax options."