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

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "program-l@xxxxxxxxxxxxx" <program-l@xxxxxxxxxxxxx>
  • Date: Tue, 9 Oct 2012 18:33:13 +0000

Hi Rod,
Thanks.

Jim


From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Rodney Haynie
Sent: Tuesday, October 09, 2012 2:23 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Windows Equivalent Of Unix Touch Command

Jim,

I just tried the following at a command prompt in Windows 7:
fsutil file createnew FileName Size

Example
fsutil file createnew rod.txt 0

It created rod.txt with the size of 0 bytes.

HTH.
Rodney


From: program-l-bounce@xxxxxxxxxxxxx<mailto:program-l-bounce@xxxxxxxxxxxxx> 
[mailto:program-l-bounce@xxxxxxxxxxxxx]<mailto:[mailto:program-l-bounce@xxxxxxxxxxxxx]>
 On Behalf Of Homme, James
Sent: Tuesday, October 09, 2012 2:03 PM
To: program-l@xxxxxxxxxxxxx<mailto:program-l@xxxxxxxxxxxxx>
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: