[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

MS-DOS command error 255



Title: MS-DOS command error 255

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