Works for me.  Thanks!

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Roger
Sent: Sunday, July 18, 2004 2:17 PM
To: [EMAIL PROTECTED]
Subject: Re: PCWorks: BAT Stuff

Hi Ted,

If all you want to do is see if the BAT file has run, then include these
lines (changed to match whatever folder you want to write to)
and it will create a small file with the date/time stamp of its creation
to tell you when the BAT file ran.

===========
@echo off
if exist d:\install\runok.txt del d:\install\runok.txt
echo RUNOK>>d:\install\runok.txt
echo on
exit
=============

Roger

=======================================================
The only time the world beats a path to your door is when you're in
the bathroom.
.





----- Original Message ----- 
From: "Ted Mozer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 17, 2004 4:43 PM
Subject: PCWorks: BAT Stuff


> I just discovered that xcopy.exe was actually still available on
Windows XP
> in the System32 folder.  I created a .bat file to back up a folder on
one of
> the servers at work to a hard drive each night.  I used XP Scheduler
to set
> it up to run at 2:00 a.m.
>
> Can anyone suggest a simple addition to my .bat file that would write
a
> little log type file to confirm that the backup actually ran???
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to