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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Font Size in Threads Dimster 5 377 12-12-2025, 04:49 PM
Last Post: Dimster
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 11 1,084 11-10-2025, 07:23 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 227 10-26-2025, 06:58 PM
Last Post: madscijr
  question on determining time spent in area fistfullofnails 9 845 08-25-2025, 01:55 PM
Last Post: fistfullofnails
  Testing against multiple elements at a time without select case CMR 4 842 04-17-2025, 02:16 AM
Last Post: CMR

Forum Jump:


Users browsing this thread: 1 Guest(s)