[program-l] Re: Windows Equivalent Of Unix Touch Command

  • From: "Jacob Kruger" <jacob@xxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Tue, 9 Oct 2012 20:34:06 +0200

In python, the following 2 lines of code just created a text file of size 0 
bytes - know that it's not really relevant to windows command line, but anyway:
f = open("nada.txt", "w")
f.close()

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

  ----- Original Message ----- 
  From: Homme, James 
  To: program-l@xxxxxxxxxxxxx 
  Sent: Tuesday, October 09, 2012 8:03 PM
  Subject: [program-l] Windows Equivalent Of Unix Touch Command


  Hi,

  Is there a dos or windows command that will make a 0 length file?



  Thanks.



  Jim







------------------------------------------------------------------------------

  This e-mail and any attachments to it are confidential and are intended 
solely for use of the individual or entity to whom they are addressed. If you 
have received this e-mail in error, please notify the sender immediately and 
then delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: