Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

Right-click usage...

lucian892 - June 1, 2007 - 3:28pm

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.


( categories: )

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