skip to main content

Library Routines : C$DELTREE

C$DELTREE
The C$DELTREE library routine allows the user to delete a directory and its subdirectories even if there are files in them.
Syntax:
 CALL "C$DELTREE" USING directoryName
Parameters:
Return code:
returnCode can be any signed numeric data item and provides additional information:
Examples:
Example - Delete a logs directory, including its subfolders and files
call "c$deltree" using "/myapp/logs"
if retCode = 0
   display message "Directory fully deleted"
   display message "Directory was not fully deleted"

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left