Table Of Contents

Delete Directory Recursive (G Dataflow)

Version:
    Last Modified: April 3, 2017

    Deletes a folder and all of its contents, including subfolders and their contents.

    spd-note-caution
    Caution  

    This node deletes every file from your drive when you wire a path of C:\ and deletes all files from every mapped drive on your computer when you wire an empty path.

    connector_pane_image
    datatype_icon

    folder to delete

    Path to the folder that you want to delete.

    datatype_icon

    keep deleting on error

    Boolean that determines whether to continue deleting files and folders in the specified directory after an error occurs while trying to delete a file or folder.

    True Continue deleting files and folders in the specified directory after an error occurs.
    False Stop deleting files and folders after an error occurs.

    Use Caution when Wiring True

    If you wire a True to keep deleting on error, this node deletes as many files as it can, regardless of any errors it encounters along the way.

    Encountering Errors When Deleting

    Unless keep deleting on error is True, this node will stop in the middle of the deletion process if it encounters an error while trying to delete a file or folder.

    Regardless of the value of this input, the error out message will always give the path of the first file that could not be deleted.

    Default: False

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics