Jump to content
Sign in to follow this  
spiderkayak

Run command with quotation marks

Recommended Posts

We need to know who we could run the next command, with the same parameters that apper there:

catrap Server1 "" "" 5 1 1 1.3.6.1.4.1.792.1.4 octetstring "Traps sended OK"

We are thinking to use RunWait command.

RunWait("catrap Server1 "" "" 5 1 1 1.3.6.1.4.1.792.1.4 octetstring "Traps sended OK"","",@SW_HIDE)

But the problem is with the quotation marks ("") simbol after server name (Server1).

Do you have any idea how we can do it??

Thank you very much :lmao:

Share this post


Link to post
Share on other sites

Might work if you replace the outer quotes with single qutation marks:

RunWait('catrap Server1 "" "" 5 1 1 1.3.6.1.4.1.792.1.4 octetstring "Traps sended OK"',"",@SW_HIDE)

<{POST_SNAPBACK}>

Thank you so much

Our script now is running perfectly.!!!!!!!!!!!!!!!

:lmao:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...