CreateProcess API를 사용하면 결과는 성공적이지만 explorer.exe의 새 인스턴스가없고 이전 인스턴스가 폴더를 열면됩니다.Microsoft Visual C++에서 explorer.exe의 새 인스턴스를 만들려면 어떻게해야합니까?
그렇다면 Microsoft Visual C++에서 explorer.exe의 새 인스턴스를 만들려면 어떻게해야합니까?
CreateProcess API를 사용하면 결과는 성공적이지만 explorer.exe의 새 인스턴스가없고 이전 인스턴스가 폴더를 열면됩니다.Microsoft Visual C++에서 explorer.exe의 새 인스턴스를 만들려면 어떻게해야합니까?
그렇다면 Microsoft Visual C++에서 explorer.exe의 새 인스턴스를 만들려면 어떻게해야합니까?
확인 Explorer.exe Command-Line Options for Windows XP 아웃.
인용구 :
The options that you can use with Explorer.exe are /n, /e, /root (plus an object), and /select (plus an object). Option Function
/n Opens a new single-pane window for the default selection. This is usually the root of the drive that Windows is installed on. If the window is already open, a duplicate opens.
/e Opens Windows Explorer in its default view.
/root, Opens a window view of the specified object.
/select, Opens a window view with the specified folder, file, or program selected.
Examples
Example 1: Explorer /select,C:\TestDir\TestProg.exe Opens a window view with TestProg selected.
Example 2: Explorer /e,/root,C:\TestDir\TestProg.exe Opens Explorer with drive C expanded and TestProg selected.
Example 3: Explorer /root,\TestSvr\TestShare Opens a window view of the specified share.
Example 4: Explorer /root,\TestSvr\TestShare,select,TestProg.exe Opens a window view of the specified share with TestProg selected.
나는/n 매개 변수를 사용하지만, 그것은 작동 나던? explorer.exe의 인스턴스가 하나뿐입니다. –
@ androitadroit2006 CreateProcess를 어떻게 호출합니까? 코드를 표시 할 수 있습니까? –