Open any file

XUWANBIN 201 Reputation points
2023-01-13T11:38:22.53+00:00

Which API to use? You can call the system to open the specified file. I tried to use the call browser to open the full path (with file://) but some files open in a non-standard way (e.g., MP3 files won't play in win11).

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,492 questions
{count} votes

Accepted answer
  1. Castorix31 82,671 Reputation points
    2023-01-13T11:46:03.4033333+00:00
    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. David Lowndes 4,711 Reputation points
    2023-01-13T11:46:27.13+00:00

    Are you looking for ShellExecute(Ex)?

    1 person found this answer helpful.