Detailed Description and Symptoms
You receive the following error message when you use blanks in the installation directory for the Windows Agent and want to run a job (e.g. the temp directory is C:\Program Files\Automic\AutomationEngine\9.00A\Agents\windows\TEMP\):
C:\Program : The term 'C:\Program' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
This is a known error that can't be fixed without creating side effects. We recommend to use a path without blanks for UC_EX_PATH_TEMP. The standard installation path is C:\Automic.
A workaround that can be used is described in
"To be backwards compatible with the 8.3 limitations of the old File Allocation Table filenames, the names 'Program Files', 'Program Files (x86)' and 'Common Program Files' are shortened by the system to progra~N and common~N, where N is a digit, a sequence number that on a clean install will be 1 (or 1 and 2 when both 'Program Files' and 'Program Files (x86)' are present).
Program Files --> progra~1
Program Files (x86) --> progra~2
That means, if you have C:\Program Files\Automic\AutomationEngine\9.00A\Agents\windows\TEMP\ for your temp path, you can define the path with
in the UC_EX_PATH_TEMP variable and the job should run without problems.