JCMD works with dates & times only during directory listings, copying of files and creating log file. That means following commands:
1) | DIR, ATTR, SALV | ||||||
JCMD uses DOS function FindFirst / FindNext (int 21/4E
and 21/4F) for DOS directory listings.
It uses function ReadDir for NetWare files.
When these functions work correctly, JCMD displays right dates, but:
|
|||||||
2) | COPY | ||||||
JCMD uses interrupt 21/57 for date settings when copying
to DOS and function SetFileInfo when copying to NetWare.
(Dates are from same sources as in item 1.) JCMD uses function ChangeDirectoryEntry for directory date settings when copying to NetWare. When these functions work correctly, JCMD creates right dates during file copy. Note: When copying to or from DOS, JCMD maintains only file dates, not directory dates. |
|||||||
3) | LOG | ||||||
This command writes to log file date and time of logging start.
This time is obtained by functions time a strftime.
When these functions work correctly, JCMD writes right
date to log file. |
|||||||
Conclusion |
|||||||
When needed patches for year 2000 are installed on NetWare,
JCMD works correctly with NetWare files. If NetWare is started
from year 2000 compatible DOS, JCMD works correctly even with
NetWare files. When DOS or NetWare are not year 2000 compatible, JCMD can incorrectly display file dates and copied files can have incorrect dates. Content of files is not touched by this problem. Stability of program JCMD does not cohere with year 2000. |