Click here to Skip to main content
15,908,776 members

Comments by Earl Livingston (Top 2 by date)

Earl Livingston 13-Jun-23 5:37am View    
Thank you a million Richard, removing the space character after the host IP address fix the script.

Thank you so much for your time.
Earl Livingston 12-Jun-23 22:59pm View    
curl -L "%host%/cm?cmnd=Power%con%%%20On"

The Above code does not execute. %host% does not work but if I enter the IP address or %host1,2,3,..% it then works, but I need it to work with the %host% variable.

curl "%hos1t%/cm?cmnd=Power%con%%%20On" Works
curl "http://192.168.0.254/cm?cmnd=Power%con%%%20On" Works
curl "%host%/cm?cmnd=Power%con%%%20On" Does not Work