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.
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