Matterway
    Preparing search index...

    Function openFolder

    • Experimental

      Open the folder where the file is located.

      Parameters

      • filePath: string

        The path of the folder.

      Returns Promise<void>

      Promise of void.

      const filePath = path.join(os.homedir(), 'Downloads', 'myFile.xlsx');
      await openFolder(filePath);