I am trying to execute this and get an error that 'C:\Program' is not recognized as an internal or external command,operable program or batch file.
can you please help me figure out what i am missing.
Exec xp_cmdshell '"C:\Program Files (x86)\Nmapmap -p 1433 --script ms-sql-info --script-args mssql.instance-port=1433 localhost"'
If i just run this, I get the default nmap information
Exec xp_cmdshell '"C:\Program Files (x86)\Nmapmap"'
Thanks