How to set IP range using /file: command line switch

Started by bruce69abc

bruce69abc

How to set IP range using /file: command line switch   14 April 2014, 12:37

Hi,
I'm using netscan in some batch scripts:

i.e. netscan.exe /auto: /config:"netscan.xml" /file:"ip.txt"

I've removed the directory locations for easier reading. The file ip.txt will contains the following IP format:

IP address/Netmask - i.e. 10.2.3.4/255.255.254.0

Netscan starts up OK and scans the full range extracted from the information in the ip.txt file - Great, that's what I wanted....

However, my issue is I cannot scan a different range with that instance of netscan - i.e. I cannot enter another range manually in the address section - if I do, netscan lets me enter the range but when I hit the scan button it will scan the range from the ip.txt file - I'm using the latest 64bit release of the software (netscan is running in a server 2008/2012 environment)

Is the above 'feature' by design or is it a bug?

Thanks
SoftPerfect Support forum - Andrew avatar image

Re: How to set IP range using /file: command line switch   14 April 2014, 22:56

It's by design.

If you apply certain command line switches, they are usually in effect until the instance is closed (in fact typically it will run hidden and close automatically).

If this is undesirable, load ip.txt using the File - Import menu item as in that case the effect is not permanent.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 ********  **      **        **  **      **  **     ** 
 **        **  **  **        **  **  **  **  ***   *** 
 **        **  **  **        **  **  **  **  **** **** 
 ******    **  **  **        **  **  **  **  ** *** ** 
 **        **  **  **  **    **  **  **  **  **     ** 
 **        **  **  **  **    **  **  **  **  **     ** 
 ********   ***  ***    ******    ***  ***   **     ** 

Message: