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?
#30
(05-03-2025, 03:51 AM)madscijr Wrote: You're telling me that to get a file's modified date from BASIC we have to do it in C? 
That makes no sense. I can do it from vbscript, VBA, PowerShell. I shouldn't have to resort to C to retrieve a file modified date.

(05-03-2025, 04:10 AM)eoredson Wrote: You don't need 'C' to get the file modified date/time stamp if you use the Whereis utility which I posted above..

do it how you guys want.  because it will work only on windows.  with utilities that could be used on windows.  oh well but now we have wine on linux and other unix descendants.  pardon me.

in my post (out of spriggsyspriggs' efforts and others) i was only suggesting a very close way to have a function.  which is multi-platform.  and feels like it's part of qb64.  where does it say we could use another basic to supplement qb64?  or we could use powershell, heaven forbid?  powershell was one of the great banes of my interest in windows10.  because frecking file explorer could only open that.  and not "cmd.exe" which i needed much more.

especially away from windows.  functionality for other languages such as lua, python and whatever was always done with c.  if not with c++.  there isn't an application anymore written entirely in one language or another.  not even qb64pe could claim to be "purely" in basic.  or in c++.

i didn't want to answer like this.  but your comment left me too surprised to post yesterday.  i didn't know what to say, and how to say it.
Reply


Messages In This Thread
RE: how to get a file's modified date/time and size in bytes? - by hsiangch_ong - 05-04-2025, 02:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Font Size in Threads Dimster 5 376 12-12-2025, 04:49 PM
Last Post: Dimster
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 11 1,080 11-10-2025, 07:23 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 226 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)