When supervisors are logged onto the system, a file exists in a directory:
If supervisor 248 is logged in, h:\kronos\data\supr248.001 exists.
The problem is users sometimes log on and forget to log off. I can bump them off by deleting their supervisor file, ie. del supr248.001
The file is always the same format supr###.001 if it is supervisor 10, the file is supr10.001.
I would like to set up an executable that deletes the file if it exists for more than 1 hour.
What would the code look like?