Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get a file's modified date/time and size in bytes?
#29
(05-03-2025, 02:04 AM)hsiangch_ong Wrote: the problem is that it was ridiculously easy to get the date and time of anything.  to change it at will.

I get that they wouldn't want it to be easy to CHANGE a file's timestamp, but that's different from READING a timestamp. Tightening security 'til you can't even use your computer for the things it should be able to do drives me crazy too. That said, I can't imagine it would be impossible to READ a file's modified date cross-platform, it just would use different methods under the hood depending on the platform.

(05-03-2025, 02:04 AM)hsiangch_ong Wrote:
Quote:
Code: (Select All)
        'WHY DOES THIS RETURN A BUNCH OF JUNK WITH THE FILE?: raw$ = _ReadFile$(FileIn$)
this has to be a missing chr$(0) somewhere.

Do you mean missing in the temp file being read?
Reply


Messages In This Thread
RE: how to get a file's modified date/time and size in bytes? - by madscijr - 05-03-2025, 05:54 PM



Users browsing this thread: 6 Guest(s)