Article View: comp.os.msdos.programmer
Article #2754Using DOS to create a logon
From: Jason Arthur DeHaan
Date: Tue, 23 Oct 1990 01:07
Date: Tue, 23 Oct 1990 01:07
14 lines
1309 bytes
1309 bytes
I have an IBM PC running MS DOS 3.2. I was wondering if there is anyone out
there that can help me solve a little problem with a batch file that I have
attempted to create. Its purpose is to record the name of the user, as well
as the time and date of signon. Using temporary files, I've managed to
sucessfully do this with one exception. When I write the time to a file, the
time command prompts the user to "Enter new time". I've hidden this and
issued a "Press RETURN to continue" command to the user, but this is both
annoying and dangerous. Is there any way to include control commands (such
as ^M) in the batch file. When I try to do this, the computer executes the
command immediately, but does not store one in the batch file.
Thanks for any help you can give
Jason DeHaan jad43082@uxa.cso.uiuc.edu
Technical Details
Message-ID:
<1990Oct23.010706.21750@ux1.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jad43082Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!jad43082 From: jad43082@uxa.cso.uiuc.edu (Jason Arthur DeHaan) Newsgroups: comp.os.msdos.programmer Subject: Using DOS to create a logon Summary: Is there an easier way to copy the system time and date to a file? Message-ID: <1990Oct23.010706.21750@ux1.cso.uiuc.edu> Date: 23 Oct 90 01:07:06 GMT Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 14