home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12280 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.3 KB  |  37 lines

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