|
-
Mar 5th, 2012, 08:42 AM
#1
Thread Starter
New Member
Check date: If Wednesday run batch script
Hi guys,
We use avast adnm 4.8 and it has no shutdown scanning option.
I have made a batch script to run Avast on shutting down.
_________________________________________________________________
@echo off
shutwdown -a
pushd "C:\Program Files\Alwil Software\Avast4"
cls
echo --------------------------------------------------------------
echo Bezig met scannen, de computer wordt automatisch uitgezet...
echo --------------------------------------------------------------
aswcmd C: /m /*
popd "C:\Program Files\Alwil Software\Avast4"
shutdown -s
_________________________________________________________________
But I only want to scan the computers on wednesday. So if its not Wednesday computers must shutdown without scan.
I need a script to check de current date and run if it's wednesday. I want to use this script as shutdown script. If it is possible with a batch script its also fine.
Thanks in advance,
e2e2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|