You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
FAQ
O&M FAQ
Copy page
Download PDF
O&M FAQ
Why do I receive an error message saying "This is not an internal or external command, nor a runnable program or batch file" when the cloud assistant executes a correct Windows PowerShell or Bat script?​
  • Possible cause:​
  • Scripts transferred by the cloud assistant to your instance are encoded in UTF-8 by default, whereas Windows CMD uses GBK by default. Therefore, this issue may be caused by Chinese characters in your Windows script.​
  • Solutions:​
  • Solution 1:​
  • Add the following command at the first line of your script:​
  • ​
    chcp 437​
    ​
  • Solution 2:​
  • Replace Chinese characters in the script with English characters.​
Why does the execution timeout occur when I call the cloud assistant by executing the nohup {cmd} & command?​
When the Cloud assistant executes the nohup command, it needs to perform redirection for the command output. Otherwise, the Cloud assistant will wait for IO, thus causing the execution timeout.​
Use the redirection symbol >to specify the output file. Format: nohup {cmd} & > output.log 2>&1 &.​
Last updated: 2026.06.18 17:48:25