Tags: command, file, microsoft, msdn, processer, software, thatcreates, touch, unix, unix-type, windows

A unix-type "touch" command for windows.

On Microsoft » Microsoft XP

4,203 words with 4 Comments; publish: Mon, 26 May 2008 17:10:00 GMT; (331140.63, « »)

is there a command in windows/command processer that

creates a file from one command like the unix "touch"

command?

All Comments

Leave a comment...

  • 4 Comments
    • "zram" <anonymous.windows-xp.todaysummary.com.discussions.microsoft.com> wrote in message

      news:ec3601c43d2a$78843eb0$a401280a.windows-xp.todaysummary.com.phx.gbl...

      > is there a command in windows/command processer that

      > creates a file from one command like the unix "touch"

      > command?

      No idea what you mean by "creates a file from one command" in the case of

      touch since IIRC "touch" is used to modify file dates but in any case, there

      may be something that will work for you. You might start with

      http://www.codeproject.com/tools/touch_win.asp to see if it does what you

      want/need. Otherwise, just go to google as I did and search for "windows

      touch command" and see what else pops up.

      John McGaw

      [Knoxville, TN, USA]

      Return address will not work. Please

      reply in group or through my website:

      http://johnmcgaw.com

      #1; Mon, 26 May 2008 17:11:00 GMT
    • >--Original Message--

      >"zram" <anonymous.windows-xp.todaysummary.com.discussions.microsoft.com> wrote in

      message

      >news:ec3601c43d2a$78843eb0$a401280a.windows-xp.todaysummary.com.phx.gbl...

      >No idea what you mean by "creates a file from one

      command" in the case of

      >touch since IIRC "touch" is used to modify file dates

      but in any case, there

      >may be something that will work for you. You might start

      with

      >http://www.codeproject.com/tools/touch_win.asp to see if

      it does what you

      >want/need. Otherwise, just go to google as I did and

      search for "windows

      >touch command" and see what else pops up.

      >--

      >John McGaw

      >[Knoxville, TN, USA]

      >Return address will not work. Please

      >reply in group or through my website:

      >http://johnmcgaw.com

      >

      >Thanks, the program on codeproject will do the trick.

      >

      #2; Mon, 26 May 2008 17:12:00 GMT
    • John McGaw wrote:

      > "zram" <anonymous.windows-xp.todaysummary.com.discussions.microsoft.com> wrote in message

      > news:ec3601c43d2a$78843eb0$a401280a.windows-xp.todaysummary.com.phx.gbl...

      >

      > No idea what you mean by "creates a file from one command" in the case of

      > touch since IIRC "touch" is used to modify file dates but in any case, there

      > may be something that will work for you.

      In Unix "touch filename" will create a file of that name if one does not

      already exist. Otherwise you are correct.

      You might start with

      > http://www.codeproject.com/tools/touch_win.asp to see if it does what you

      > want/need.

      Good call

      Steve

      #3; Mon, 26 May 2008 17:13:00 GMT
    • "Steve Nielsen" <steve_nielsen.windows-xp.todaysummary.com.nospam.nowhere.net> wrote in message

      news:e6e6G9cPEHA.3520.windows-xp.todaysummary.com.TK2MSFTNGP10.phx.gbl...[vbcol=seagreen]

      > John McGaw wrote:

      of[vbcol=seagreen]

      there[vbcol=seagreen]

      > In Unix "touch filename" will create a file of that name if one does not

      > already exist. Otherwise you are correct.

      > You might start with

      you

      > Good call

      > Steve

      >

      Learn something every day I guess. I was a Unix sysadmin (of sorts) for some

      years and wrote a lot of shell scripts that did a lot of odd things but

      never used touch except for the date changing effect.

      John McGaw

      [Knoxville, TN, USA]

      Return address will not work. Please

      reply in group or through my website:

      http://johnmcgaw.com

      #4; Mon, 26 May 2008 17:14:00 GMT