Jump to content

Recommended Posts

Posted (edited)

Hi sir,

I am trying to execute below code in one line but it doesn't work for me, no error message appeared just quickly pass after executing it.

RunWait("ipmitool.exe " & "-H" & " " & "172.16.10.100" & " " & "-U" & " " & "Administrator" & " " & "-P" & " " & "Administrator" & " " & "fru" & " " & ">>" & " " & "c:\host\testlog\bmc_log\bmc_fru_org_1.log")

Please advise what's the problem, thanks.

Jacky

Edited by jackylee0908
Posted

Is this a Cmd based executable?  Does the executable exist?  Run the following code in Scite and then use the output directly into Start » Run and see if it runs.

$sCommand = "ipmitool.exe -H 172.16.10.100 -U Administrator -P Administrator fru >> c:\host\testlog\bmc_log\bmc_fru_org_1.log"
ConsoleWrite($sCommand & @CRLF)

 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...