정말 의사 소통을해야합니다. 질문은 매우 나쁘게 표현됩니다. 이 옵션은 프로세스 또는 창에서 명령 라인으로 하나있다는
ProcessStartInfo psi = new ProcessStartInfo(realCMD.ToString(),realARGS.ToString());
if (domainName != null)
psi.Domain = domainName;
psi.UserName = realUsername;
psi.Password = securePassword;
psi.CreateNoWindow = true;
psi.UseShellExecute = false;
우리가 이렇게하면 윈도우가 항상 실행 uppon 표시됩니다를 시작합니다.
명령
은
이 지정된 프로그램이나 명령을 별도의 창에서 시작합니다 "시작"되는 Windows에서 명령 줄에서 프로그램을 시작합니다.
START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/AFFINITY <hex affinity>] [/WAIT] [/B] [command/program]
[parameters]
"title" Title to display in window title bar.
path Starting directory
B Start application without creating a new window. The
application has ^C handling ignored. Unless the application
enables ^C processing, ^Break is the only way to interrupt
the application
I The new environment will be the original environment passed
to the cmd.exe and not the current environment.
MIN Start window minimized
MAX Start window maximized
SEPARATE Start 16-bit Windows program in separate memory space
SHARED Start 16-bit Windows program in shared memory space
LOW Start application in the IDLE priority class
NORMAL Start application in the NORMAL priority class
HIGH Start application in the HIGH priority class
REALTIME Start application in the REALTIME priority class
ABOVENORMAL Start application in the ABOVENORMAL priority class
BELOWNORMAL Start application in the BELOWNORMAL priority class
AFFINITY The new application will have the specified processor
affinity mask, expressed as a hexadecimal number.
WAIT Start application and wait for it to terminate
당신은 프로그램을 최소화
무엇을 하려는지 명확하게 알지 못합니다. 지금까지 가지고있는 코드와 코드를 보여주십시오. – Stas
Windows 서비스를 검색하십시오. –
일종의 사용자 인터페이스를 표시하려면 Windows 서비스를 사용할 수 없습니다. 다른 사람들이 말했듯이,이 질문은 전혀 이해가되지 않습니다. 당신은 당신의 질문을 다시 말해야 할 것입니다. 품질이 좋지 않은 ASCII 일러스트레이션이 아닌 실제 스크린 샷을 표시하는 것도 고려해보십시오. –