See the following article for more information:
The MOVE DATASET command allows you to move datasets into a subfolder of the executing folder. The datasets must be referred to by using dataset functions, using either the DATASET or DATASET_ID functions, which take a dataset path or a dataset id as arguments respectively.
In cases where the target folder does not exist, it will then be created.
MOVE DATASET("path|to|dataset name"), DATASET_ID("dataset id") TO "Folder|Path";