2019年8月23日 星期五

windows如何使用command打開檔案

ShellExecute example

ShellExecute(NULL, _T("Open"), _T("C:\\Program Files\\My Prgram\\test1.pdf"), NULL, NULL, SW_SHOWNORMAL);

ShellExecuteA(NULL, "Open", "C:\\Program Files\\My Prgram\\test1.pdf", NULL, NULL, SW_SHOWNORMAL);

沒有留言:

張貼留言

Eclipse 5.27.1 環境主題修改

Eclipse 環境設定 1. 主題 Window->Preferences->General->Appearance->Theme->Dark 2. 文字大小 Window->Preferences->General-&...