Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformProcess
Description
Attempt to launch the provided file name in its default external application. Similar to FPlatformProcess::LaunchURL, with the exception that if a default application isn't found for the file, the user will be prompted with an "Open With..." dialog.
| Name | LaunchFileInDefaultExternalApplication |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h |
| Include Path | #include "GenericPlatform/GenericPlatformProcess.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp |
static bool LaunchFileInDefaultExternalApplication
(
const TCHAR * FileName,
const TCHAR * Parms,
ELaunchVerb::Type Verb,
bool bPromptToOpenOnFailure
)
true if the file is launched successfully, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| FileName | Name of the file to attempt to launch in its default external application |
| Parms | Optional parameters to the default application |
| Verb | Optional verb to use when opening the file, if it applies for the platform. |