I am trying to execute a command on the batch server that returns error code 255. It works on client. What does error 255 mean?
The code is
if &PSPRCSRQST.RUNLOCATION = '2'
let $DirFile = 'e:\temp\dirfile.txt'
else
let $DirFile = 'c:\dirfile.txt'
end-if
let $cmd = getenv('COMSPEC') || ' /C dir ' || 'c:\wo\galwkord*'
let $cmd = $cmd || ' > ' || $DirFile
Thanks
Bob