Syntax of scannet command and output file access denied

3 posts · Closed

Ronen Guest
1 Jun 2023

I have two questions:

  1. Can you give the syntax of the "scannet" command?
  2. /output:filename.(xml|json|htm|csv|txt) - save mapping info to a file - gives me "Unable to open file "1.txt": Access is denied." How can I fix this?
Ann SoftPerfect
1 Jun 2023

The /scannet command activates network scanning following the mapping process and can take two forms:

  • /scannet without an IP range will scan the current subnet for resolving MAC addresses to IP addresses of connected devices;
  • /scannet with an IP address range, e.g. /scannet 192.168.0.1-192.168.0.100, will scan the specified range for resolving MAC addresses to IP addresses of connected devices.

The error message that you are getting when trying to output into a file suggests the file location is not writable for the current user. Typically that would happen if you specify it at the C:\ drive. For example, creating C:\1.txt would end up with such access error because a regular user is not allowed to create files in the system drive root.

Ronen Guest
2 Jun 2023

Solved

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Switch Port Mapper if you have a similar question.