WHY this instruction doesn't work or is ignored?
CALL "SYSTEM" USING "RMDIR /S /Q f:\\backup\\domingo".
Page 1 / 1
WHY this instruction doesn't work or is ignored?
CALL "SYSTEM" USING "RMDIR /S /Q f:\\backup\\domingo".
CALL "SYSTEM" USING DEL-DEL.
doesn't work or is ignored
WHY this instruction doesn't work or is ignored?
CALL "SYSTEM" USING "RMDIR /S /Q f:\\backup\\domingo".
Wascar,
One thing to do is to get the exit code returned. This can be done as follows:
01 del-exit-code pic s9(4) BINARY.
...
call "SYSTEM" using DEL-DEL, OMITTED, del-exit-code
if del-exit-code not equal 0
*> process the error
end-if.
I believe also, since you are on Windows, that the command must be:
CMD.EXE /C RMDIR /S /Q f:\\backup\\domingo
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.