Folder functions in DHC


Bryce Beattie

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())

DecSoft

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.



Bryce Beattie
Thank you!

Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.