첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
using System;
using System.Runtime.InteropServices;

ShellExecute(IntPtr.Zero, "open", "shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}", null, null, 10);

#region 쉘 실행하기 - ShellExecute(windowHandle, operation, filePath, parameter, directoryPath, command)

/// <summary>
/// 쉘 실행하기
/// </summary>
/// <param name="windowHandle">윈도우 핸들</param>
/// <param name="operation">조작</param>
/// <param name="filePath">파일 경로</param>
/// <param name="parameter">매개 변수</param>
/// <param name="directoryPath">디렉토리 경로</param>
/// <param name="command">명령</param>
/// <returns>인스턴스 핸들</returns>
[DllImport("shell32")]
private static extern IntPtr ShellExecute(IntPtr windowHandle, string operation, string filePath, string parameter, string directoryPath, int command);

#endregion
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요