Following on from a previous post it does appear, reading online, that on floppy disks each file does have a “modified date/time” stored
Is there any Dir equivalent command or utility that displays this please?
Many thanks
File modified date/time
Re: File modified date/time
Toolkit 2 has two functions to do just that. FUPDT(), FBKDT() will read the update and backup dates.
FVERS() will get the version number. This increases from 1 each time the file is saved under the same name.
BSJR
Re: File modified date/time
Many thanks!
-
- Aurora
- Posts: 951
- Joined: Sat Oct 25, 2014 9:53 am
Re: File modified date/time
Hi tonyt
Just to add that TK2 also has the 'WSTAT' command that acts like DIR but adds datestamp and filesize to the usual directory listing.
Just to add that TK2 also has the 'WSTAT' command that acts like DIR but adds datestamp and filesize to the usual directory listing.
Re: File modified date/time
And the C68 package contains a "touch" utility that sets the update time of a file to "now".
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
- NormanDunbar
- Forum Moderator
- Posts: 2287
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: File modified date/time
DJToolkit has functions to read and set those dates in the file header.
WinBack used them back in the day to determine if a file needed backing up or not. Also backs up floppies and such like, not just hard discs.
Both available from Dilwyn's web page, linked as QL Homepage at the top of every forum page.
Cheers,
Norm.
WinBack used them back in the day to determine if a file needed backing up or not. Also backs up floppies and such like, not just hard discs.
Both available from Dilwyn's web page, linked as QL Homepage at the top of every forum page.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
-
- Font of All Knowledge
- Posts: 4038
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: File modified date/time
Hi,
The only RTC I had was on Gold Card, Super Gold Card, Minerva MKII, QIMI.
Could a battery be attached to the 8302 to backup the date, as shown in this QIMI diagram:
This could be reproduced.
The only RTC I had was on Gold Card, Super Gold Card, Minerva MKII, QIMI.
Could a battery be attached to the 8302 to backup the date, as shown in this QIMI diagram:
This could be reproduced.
Regards,
Derek
Derek