PathIsExe function (shlobj_core.h)
[PathIsExe is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Determines whether a file is an executable by examining the file name extension.
Syntax
BOOL PathIsExe(
[in] PCWSTR pszPath
);
Parameters
[in] pszPath
Type: PCWSTR
A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.
Return value
Type: BOOL
Returns TRUE if the file name extension is .cmd, .bat, .pif, .scf, .exe, .com, or .scr; otherwise, FALSE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h (include Shlobj.h) |
Library | Shell32.lib |
DLL | Shell32.dll (version 5.0 or later) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για