What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » scan receiving files

scan receiving files
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: scan receiving files
quote:
Originally posted by aNILEator
I'm pretty sure that it was %f
If this is correct than it makes little sense and MS needs a slap :p...

I mean, parameters in Windows (and DOS) batch processing and registry settings always have been %1, %2, %3, etc... It makes no sense that Windows Live Messenger uses %f.

But the %1, %2, etc have got nothing todo with what program you use. Those parameters are something from Windows/DOS itself. It is Windows/DOS which replaces them with the parameter you entered on the command line. Those indentifiers are placeholders for parameters inside batch jobs.

Program specific parameters (in Windows/DOS) useually are in the form of:
c:\programname.exe /para1 /para2
or
c:\programname.exe -para1 -para2

Anyways (too much rambling from my part here, I must stop this :D),

quote:
Originally posted by ins4ne
I entered C:\Program Files\AntiVir PersonalEdition Classic\avscan.exe

Ok so far i thought it would work. Then i got a file and after receiving i got an error message: INVALID PARAMETER blahblah.
It either means Windows can't start the program C:\Program with parameters Files\AntiVir PersonalEdition Classic\avscan.exe (because you didn't used quotes!), or it means that your antivirus software expects a specific parameter and not just a file name. Though the later is most likely the case, seeing the few words of that error message (always try to quote the full error messages exactly as they are shown).

quote:
Originally posted by ins4ne
Then i went back to that page to find out why i get that message. I read that the guy nr1 had the same problem and guy nr2 told him to add %1 after the path.
Guy number 2 is certainly wrong IF he said it in context to Windows Live Messenger!

If he said it in context to another program then remember that not all tools are the same and thus command lines you enter in a program might be different.

eg: some replace %1 with the filename (like FireFox), some use %f to be replaced with a filename (like WinRar; possibly what aNILEator is confusing things with), some simply concats the filename, others use other tags as placeholder like %file%, etc, etc.

All those are nothing more than tags used by the host programs where you enter the command line in.

Windows Live Messenger does not replace any tags like %1 or %f with the filename, it simply concats the filename (enclosed in quotes) to the command line you've entered.

And as far as my 1 minute search goes (simply search on avscan.exe), the relevant parameters for that virusscanner can be like this:

* If you want the scanner window to always remain open after scanning a downloaded file:

    Code:
    /GUIMODE=1 /PATH="path to file"

* If you want the scanner window to automatically close after scanning a downloaded file:

    Code:
    /GUIMODE=2 /PATH="path to file"

So, try:
"C:\Program Files\AntiVir PersonalEdition Classic\avscan.exe" /GUIMODE=2 /PATH=

Also you could try this for a scan in DOS GUI:
"C:\Program Files\AntiVir PersonalEdition Classic\avcmd.exe" -z -noboot -nombr –allfiles
(note: but put a space after -allfiles)

-----

To know more possible parameters check your help files, or type /? as parameter on the command line in a DOS box.


This post was edited on 11-26-2006 at 01:27 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
11-26-2006 01:26 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
scan receiving files - by ins4ne on 11-25-2006 at 12:29 PM
RE: scan receiving files - by aNILEator on 11-25-2006 at 05:13 PM
RE: scan receiving files - by CookieRevised on 11-26-2006 at 01:26 AM
RE: scan receiving files - by ins4ne on 11-26-2006 at 09:23 AM
RE: scan receiving files - by DragonQ on 12-10-2006 at 03:24 AM
RE: RE: scan receiving files - by CookieRevised on 12-11-2006 at 02:13 AM
RE: scan receiving files - by ins4ne on 12-10-2006 at 01:07 PM
RE: scan receiving files - by ins4ne on 12-11-2006 at 10:29 AM
RE: scan receiving files - by CookieRevised on 12-11-2006 at 11:44 AM
RE: scan receiving files - by ins4ne on 12-11-2006 at 11:57 AM
RE: scan receiving files - by ins4ne on 12-16-2006 at 12:47 PM
RE: scan receiving files - by CookieRevised on 12-16-2006 at 11:45 PM
RE: scan receiving files - by ins4ne on 12-16-2006 at 11:59 PM
RE: scan receiving files - by Black_Rose on 07-08-2007 at 09:12 AM
RE: scan receiving files - by CookieRevised on 07-08-2007 at 05:41 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On