Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!rm105serve.sas.upenn.edu!theall From: theall@rm105serve.sas.upenn.edu (George A. Theall) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: need a (ASSY?) routine to record date to file @ power-up Message-ID: <43528@netnews.upenn.edu> Date: 20 May 91 17:19:54 GMT References: <77189@eerie.acsu.Buffalo.EDU> Sender: news@netnews.upenn.edu Organization: University of Pennsylvania Lines: 20 Nntp-Posting-Host: rm105serve.sas.upenn.edu In article <77189@eerie.acsu.Buffalo.EDU> v087mxgb@ubvmsa.cc.buffalo.edu writes: >I want to record the usage of a PC in a file. Is there a simple >ASSY routine (or something) that would simply grab the date from >the systems and append it to a file (or even overwrite a file) Not sure what you mean by "ASSY" but I've written a simple public domain hack to do just this. it's available from SIMTEL20 as pd1:dat13.zip. Basically you add a line like "DAT -dt autoexec: booted>> \GDAL15.Log" to your autoexec. When the machine boots, lines such as "autoexec: booted 05/17/91 17:33" are appended to the specified file. Works great for logging program usage too. George --- theall@rm105serve.sas.upenn.edu Dept. of Economics theall@ssctemp.sas.upenn.edu Univ. of Pennsylvania gtheall@penndrls.upenn.edu Philadelphia, PA 19104