Kbase P7520: Unable to open or create <path>\<file>, error 2. (354) -- On
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/17/2003 |
|
Status: Unverified
FACT(s) (Environment):
Windows NT 32 Intel/Windows 2000
FACT(s) (Environment):
Windows 32 Intel
SYMPTOM(s):
Unable to open or create <filename>, error <number>. (354)
Starting a Progress client session can result in an error similar to the one below:
Unable to open or create <path>\lbixxxxx, error 2. (354)
CAUSE:
Error number 2 on Windows means:
"The system cannot find the file specified."
The cause of this error is that you have in your command string included a directory that contains space(s).
An example of a string that would produce this error is:
prowin32.exe -T D:\temp dir
or
prowin32.exe -cache D:\cache dir\cacheFile.csh
FIX:
In order to be able to use directories whose names contain spaces, you need to enclose the arguments to the parameters within double quotes as in the two examples below:
prowin32.exe -T "D:\temp dir"
or
prowin32.exe -cache "D:\cache dir\cacheFile.csh"