c/c++/레퍼런스

Shellexecute()

밀크빵 2013. 2. 6. 17:39

1. 응용프로그램 실행

ShellExcute(NULL, "open", "c:\\test.txt", NULL, NULL, SW_SHWONORMAL);

2. 특정 프로그램으로 원하는 파일 열기

3. 인터넷 익스플로러 사용하기

ShellExcute(NULL, "open", "iexplore", "http://www.tistory.com", NULL, SW_SHWONORMAL);

4. 응용프로그램의 인쇄 기능 사용하기

ShellExcute(NULL, "print", "c:\\test.txt", NULL, NULL, SW_SHWONORMAL);

5. 탐색기 실행

ShellExcute(NULL, "open", "explorer","c:\\test", NULL, SW_SHOW);