home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!jamie
- From: jamie@cdevil.unx.sas.com (James Cooper)
- Subject: Re: 1.3 datestamp
- Originator: jamie@cdevil.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <BsxM5q.G8r@unx.sas.com>
- Date: Thu, 13 Aug 1992 17:05:50 GMT
- References: <Bob_Rye.04qy@guru.pub.uu.oz.au>
- Nntp-Posting-Host: cdevil.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 23
-
-
- In article <Bob_Rye.04qy@guru.pub.uu.oz.au>, Bob_Rye@guru.pub.uu.oz.au (Bob Rye) writes:
- >Hello all! Can anyone help me with a problem regarding setting a file's
- >datestamp from kickstart 1.3? I have written a program which (under 2.04)
- >sets the file's datestamp using SetFileDate(). But I cannot find a function
- >akin to this for 1.3? Anybody know how to do this under 1.3?? Thanks...
-
- Under 1.3, you have to send a packet to DOS to set the file date.
-
- Arg[0] = 0
- Arg[1] = lock on the file to set the date on
- Arg[2] = BSTR of filename
- Arg[3] = pointer to a struct DateStamp
-
- Packet type = ACTION_SET_DATE
-
- --
- ---------------
- Jim Cooper
- (jamie@unx.sas.com) bix: jcooper
-
- Any opinions expressed herein are mine (Mine, all mine! Ha, ha, ha!),
- and not necessarily those of my employer.
-