1

i am able to run wget command successfully from the command prompt . But when I run the same command it runs and returns to the command prompt , but it doesn't execute the command.

wget.exe -qO -t 2 -T 15 - "http://maintenance.comm/cli.php?action=add&server=tempserver&at=now&mlength=10&multiplier=MINUTES&requestor=SUPPORT&qreason=TestingScript&creds=jZW%2BcMXOwKS4ocKWuq%2B%iqC0pZvXk9Cnsnmf"

Any help on this would be appreciated .

1
  • apologies ,When I run the same command via a batch file it doesn't execute the script . Commented Jun 16, 2017 at 11:08

1 Answer 1

1

wget only works in powershell. Lucky for you, powershell works in command prompt.

Try:

powershell wget -qO -t 2 -T 15 - "http://maintenance.comm/cli.php?action=add&server=tempserver&at=now&mlength=10&multiplier=MINUTES&requestor=SUPPORT&qreason=TestingScript&creds=jZW%2BcMXOwKS4ocKWuq%2B%iqC0pZvXk9Cnsnmf"
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.