home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / atari / st / 16872 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!newshost.wcc.govt.nz!kosmos.wcc.govt.nz!WELLS_S
  2. Newsgroups: comp.sys.atari.st
  3. Subject: Reading file-date from GFA
  4. Message-ID: <1ehh0hINN6v6@golem.wcc.govt.nz>
  5. From: wells_s@kosmos.wcc.govt.nz
  6. Date: 20 Nov 1992 02:02:57 GMT
  7. Reply-To: wells_s@kosmos.wcc.govt.nz
  8. Organization: Wellington City Council (Public Access), Wgtn, Nz
  9. NNTP-Posting-Host: kosmos.wcc.govt.nz
  10. Lines: 11
  11.  
  12. Okay, someone suggested for my little Time & date setter & saver program,
  13. that I store the time & date in the .PRG file's Time & Date-stamp.  Doing
  14. this is easy, I just 'TOUCH' the file.  Reading it back in however, it
  15. not as easy.  How would I go about doing this??
  16.  
  17. I could call list of the directory with 'FILES' searching for the
  18. TDSS_1_2.PRG file, then storing the list in a string, then getting the
  19. time & date from the string, and setting it - but is there a simpler
  20. method (or, more accurately, a SHORTER method, as that way would increase
  21. the filesize by almost 1k - and something as simple as this program should
  22. not be too big!!)
  23.