You are here

ClamWin: Right-click usage...

2 posts / 0 new
Last post
lucian892
Offline
Last seen: 16 years 2 months ago
Joined: 2007-05-31 19:17
ClamWin: Right-click usage...

I currently have this set-up in my autorun.inf on my portable device:

shell\scan=Run AV Scan
shell\scan\command=PortableApps\ClamWinPortable\App\clamwin\bin\clamscan.exe --database=..\..\..\Data\db\main.cvd --remove --recursive C:\

This part

PortableApps\ClamWinPortable\App\clamwin\bin\clamscan.exe --database=..\..\..\Data\db\main.cvd --remove --recursive C:\

runs perfectly in DOS when I type it in, but, will not work in the autorun.inf. I want to be able to right click my thumb drive icon under my computer and click Run AV Scan prior to any engagement with the operating system that the thumb drive may be plugged in to. So, why is this not working in my autorun.inf

Note: Just had an idea of putting the code in a batch file and linking the batch file to the autorun.inf . . . hopefully this works (if it does I will remove this post), if not, then the post still remains in effect.

lucian892
Offline
Last seen: 16 years 2 months ago
Joined: 2007-05-31 19:17
Got it!

I made a batch file named SCAN.CMD in the root of the thumb drive and put this in it:

cd PortableApps\ClamWinPortable\App\clamwin\bin
clamscan.exe --database=..\..\..\Data\db\main.cvd --remove --recursive C:\

with this in the autorun.inf file

shell\scan=Run AV Scan
shell\scan\command=scan.cmd

and it works perfectly...

-lucian

-lucian

Log in or register to post comments