Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello!!!,
Ok here my problem. I'm trying to create a batch program that will moniter a drive looking for certain types of files. Then alert me of the files existance, and make a record of it. I need it to store the name and date of the file created. Can anyone help me?? If so Thank-you in advance.
Jer

Hmm.
Just a start:cls
@echo off
if exist c:\stuff.dat goto uh_oh
goto end:uh_oh
plany danger.wav
md badfile
copy C:\stuff.dat badfile
goto end2
:end2
echo file was found and copied to badfile
pause >nul
goto end3:end
echo file was not found.:end3
echo Have a super day!What this will do is look for a file called
stuff on C: if it is found a directory called badfile is made and the file copied to the dir.plany ........is a small dos wav player used in bats. Danger.wav is the wave that notifies you of the existence of the file.
Well it's astart......lol.
World Library

![]() |
I need Quick Basic Quickl...
|
windows 2 dos
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |