Briefly
Under Windows System. You can view the property information for a file/folder by right-click Properties, including: General, security, details, and so on.
Common types
First, you need to include the header file:
#include <windows.h>
The call is then executed through the win API.
Shellexecuteinfo Shexecinfo = {0}; Shexecinfo. cbsize = sizeof (SHELLEXECUTEINFO); Shexecinfo. fmask = See_mask_invokeidlist ; Shexecinfo. Lpverb = L"Properties"; Shexecinfo. lpfile = L"C:\\Windows\\Regedit.exe"; Shexecinfo. lpparameters = L""; Shexecinfo. lpdirectory = NULL; Shexecinfo. nshow = Sw_show; Shexecinfo. Hinstapp = NULL; ShellExecuteEx (&shexecinfo);
Of course, you can also customize the form by getting the file information, displaying the information you want on the form.
http://blog.csdn.net/liang19890820/article/details/51822779
Call the Windows Properties window (actually called through the registry)