Matterway
    Preparing search index...

    Function openFile

    • Experimental

      Open the specified file.

      Parameters

      • filePath: string

        The path of the file.

      Returns Promise<void>

      Promise of void.

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