One liner that will work under any version of DOS/Win/NT(only one .exe in
dir):

for %%q in (SDAT*.exe) DO %%q -commandline

or

If you are keeping older copies of the sdats in the same directory, and want
to execute the newest version(NT only):

for /F %%q in ('dir d:\path\SDAT*.exe /a-d-s /b /o:-d') do (
d:\path\%%q -commandline
goto BreakOutOfLoop
)
:BreakOutOfLoop

Jerry


----- Original Message -----
From: "Gufler Markus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 3:31 AM
Subject: RE: [Declude.Virus] multiple scanners?


> Thanks for both answers!  :-)
>
> Jerry, can you send me your script to get and execute the newest sdat file.
> I've written one for dat-files. (FTP > MGET > UNZIP *.zip)
>
> But how do you call in a batchfile the sdatXXXX.exe when the version-nr was
> incremented?
>
> Markus
>
> This E-mail came from the Declude.Virus mailing list.  To
> unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
> type "unsubscribe Declude.Virus".  You can E-mail
> [EMAIL PROTECTED] for assistance.  You can visit our web
> site at http://www.declude.com .


This E-mail came from the Declude.Virus mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.Virus".  You can E-mail
[EMAIL PROTECTED] for assistance.  You can visit our web
site at http://www.declude.com .

Reply via email to