Help Center/ CodeArts Deploy/ FAQs/ Custom Application Actions/ Running PowerShell Commands/ PowerShell Command References a File or Folder That Does Not Exist
Updated on 2024-08-06 GMT+08:00

PowerShell Command References a File or Folder That Does Not Exist

Symptoms

During the deployment of the PowerShell command cd C:/abcd/, an error message is displayed.

Figure 1 Log information

Cause Analysis

The Windows host has an error correction mechanism when deploying the action Run PowerShell Commands. Therefore, the deployment will not fail. However, the log shows that the file is not found.

Solution

Modify the path or file name in the PowerShell command.