- Documentation
Elastic Compute Service
Elastic Compute Service
FAQ
O&M FAQ
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?
- 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.
- Add the following command at the first line of your script:
- 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