Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Stamp change?

Status
Not open for further replies.

quebasic2

Programmer
Dec 17, 2002
174
IN
Is there away to use qbasic to change the time stamp on a file?
 
Probably - though it would be easier in QuickBasic.
That is because you need to use a call interrupt which is
available in QuickBasic.

In Qbasic you would have to use a call absolute routine
to call the interrupt.

I dont recall off hand which one it is though it's probably
part of Interrupt 20H.

I have a listing of the interrupt calls on my site in the files section
 
Thanks. I always thought qbasic and quick basic are one and them same. Are they not?
 
QuickBasic includes a compiler Qbasic does not.
QuickBasic has a little more available.
Qbasic replaced GWBASIC starting with DOS version 5.0
QuickBasic 4.5 is still the most popular version and most
libraries you see are written for that version.

PDS (QuickBasic version 7.x) included a currency floating
point type (four decimal places) for better handling of
dollars and cents calculations and a isam file system.
(indexed sequential access mode) for easier creation /
maintenance of databases.
 
Wow! I have quickbasic 7.1. I always thought they were the same. So, most people would have quickbasic versions. But, for the sake of briefness, I will always write qbasic or qb.
 
Ok, I found some stuff in an interrupt file, now what do I do with it?

-04h DWORD pointer to FAR routine to update directory info in related SFT
entries
call with ES:DI -> system file table entry for file (see below)
AX = subfunction (apply to each related SFT)
00h: update time stamp (offset 0Dh) and date
stamp (offset 0Fh)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top