ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
clamwin syntax?
hankn


Joined: 20 Feb 2007
Posts: 0
Reply with quote
Rather than use clamscan from the command line - I would like to use clamwin from the command line but pass it a parameter of what disk to scan so that it comes up, opens its window and starts scanning the disk. Is that possible?
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 0
Location: Belgium
Reply with quote
You can use the command line switch that is used by the shell extension :
Code:

clamwin.exe --mode=scanner C:\folderToScan
View user's profileSend private message
b0ne


Joined: 26 Oct 2006
Posts: 0
Reply with quote
Also, if you don't want the pesky black command line window, you can use this line in a batch file and the command window will go away as soon as clamwin is launched:

start /d"c:\program files\clamwin\bin" clamwin.exe --mode=scanner --path=%1
View user's profileSend private message
hankn


Joined: 20 Feb 2007
Posts: 0
Reply with quote
budtse wrote:
You can use the command line switch that is used by the shell extension :
Code:

clamwin.exe --mode=scanner C:\folderToScan


Excellent!

Thanks!
View user's profileSend private message
clamwin syntax?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic