ADSM-L

Re: Windows equivalent to Unix 'touch' command

2001-10-21 16:06:41
Subject: Re: Windows equivalent to Unix 'touch' command
From: Robert Clark <res03db2 AT GTE DOT NET>
Date: Sun, 21 Oct 2001 13:03:28 -0700
SFU 2.0 has the touch command in it. I think its intended for W2k though.

[RC]


On Tue, Oct 09, 2001 at 01:29:01PM -0700, Alex Paschal wrote:
> In a perl script, you could use the utime command.  I know perl is in the
> WinNT reskit, so no additional perl distribution is necessary.
>
> Actually, you may need a newer distribution or a newer reskit with a newer
> distribution.  I was just testing the mini-script below when I found out
> that utime isn't implemented in the perl distribution that's in my NT
> reskit.  If perl is in the Win2K reskit, would anybody care to try it?
>
> Alex
>
> $filename="d:\\temp\\testfile";     # file to touch
> $time=time + 3600;                  # 1 hour in the future
> $rc=utime($time, $time, $filename);
> print "$rc files touched\n";
>
>
> -----Original Message-----
> From: James Thompson [mailto:mezron AT HOTMAIL DOT COM]
> Sent: Monday, October 08, 2001 2:41 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Windows equivalent to Unix 'touch' command
>
>
> Does anyone know a windows equivalent to the Unix 'Touch' command.  I am
> running some tests with TSM and via a script want to have TSM think that
> certain files have changed.  In Unix it is a simple matter of 'touching
> them'?  Any ideas?
>
> James Thompson
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> "WorldSecure <Freightliner.com>" made the following
>  annotations on 10/09/01 13:27:39
> ------------------------------------------------------------------------------
>
> [INFO] -- Content Manager:
> The information contained in this communication is confidential and intended 
> solely for the use of the individual to whom it is addressed and others 
> authorized to receive it.  If you are not the intended recipient, any 
> disclosure, copying, distribution or taking of any action in reliance on the 
> contents of this information is prohibited. If you have received this 
> communication in error, please immediately notify the sender by phone if 
> possible or via email message.
>
> ==============================================================================