I am getting an error while trying to save the output to an output file using nmap through command line. The GUI keeps crashing on me so I am trying to the command line to see if it works but I get the following error:
C:\Program Files (x86)\Nmap>nmap -T4 -F 172.16.0.0/16 -oX myscan.xml
Failed to open XML output file myscan.xml for writing
Does anyone know what the issue might be related to?