Please note, this is a STATIC archive of website www.softperfect.com from 04 Jul 2018, cach3.com does not collect or store any user information, there is no "phishing" involved.

cmd line /file: dotted mask discarded

Started by confuseis

confuseis

cmd line /file: dotted mask discarded   31 October 2015, 23:43

Hi

I am looking to automate scanning. Long story short I need to scan a range from a text file which contains only the 192.168.192.1/255.255.255.0 with no spaces etc. I user below to run netscan against this ip range
netscan.exe /auto /file:c:\temp\Ip-details.txt

I get the error some 1 lines have been discarded. I've re read the manual but it looks like this should work.
from manual: /file:filename.txt x.x.x.x/y.y.y.y 10.0.0.1/255.255.255.0 IPv4 address/dotted mask

192.168.2.1/24 will however be accepted from the text file.

What am I doing wrong?

Thanks
SoftPerfect Support forum - Andrew avatar image

Re: cmd line /file: dotted mask discarded   01 November 2015, 00:42

Nothing, it's just this notation is no longer supported. Please see this topic for details.
confuseis

Re: cmd line /file: dotted mask discarded   01 November 2015, 08:22

That answers the question.

I wonder what was the last version to support that notation? Its just that I use a bat file to populate the text file with the ip and subnet mask. I would otherwise need to get the slash notation of the mask by command line e.g. /24 and I'm not sure if that can be done easily.

Thanks
SoftPerfect Support forum - Andrew avatar image

Re: cmd line /file: dotted mask discarded   02 November 2015, 00:49

Version 6.0.7 was the last one to support dot-decimal notation.
confuseis

Re: cmd line /file: dotted mask discarded   02 November 2015, 08:24

Appreciate the help

Thank you

Sometimes you can get the answer faster if you try the forum search and/or have a look at the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • 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: