Skip to content

EF.Shell

Shell/OS helper routines (Windows shell API wrappers).

Routines

pascal
procedure ShellDeleteAllFiles(const APath: string);

Deletes all files in APath using the Windows shell API.

pascal
function OpenDocument(const AFileName: string;

Opens a document with its default application. When AWait is True, waits for the launched process to finish and returns its exit code (or -1 on error); when AWait is False, returns 0 on success or -1 on error.

Released under Apache License, Version 2.0.