I am looking for functions to do the following directory-related actions. I know I can probably do these via dhc.shell.execute or dhc.shell.command, but if there's a built-in function, I'd prefer to use that. I don't see anything in the "Files" sample or in the list of external javascript functions in the help.
- create a Directory
- delete a Directory
- read the contents of a directory (something like node's fs.readdir() or php's glob())
Hello Bryce,
The external JavaScript function to delete folders (recursively) already exists. I just publish a new release of the product which includes now a couple of new external JavaScript functions to create folders and to list the files contained in a folder and / or their subfolders too. You can take a look at the new release, sir, as well to the updated product help and the enhanced Files sample app.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.