total-commander를 사용하여 windows 시스템 폴더를 여는 데 약간의 문제가 있습니다 cmd에서 수동으로 명령을 실행하면 ok입니다. 그러나 ProcessStartInfo 아니. 이 문제는 Windows XP에서 발생합니다. Windows 7 인수 (경로)는 조금 다르지만 작동합니다.총 수령인을 통해 C : Windows system32의 폴더 열기
ProcessStartInfo startInfo = new ProcessStartInfo(); //New Proccess
startInfo.Arguments = "/L=" + GetArgument(); //Return C:\WINDOWS\system32\config\systemprofile\Local Settings\Application ata\MyApp\update\download [it´s OK]
startInfo.WorkingDirectory = Path.GetDirectoryName(GetTcmdPath());
startInfo.FileName = GetTcmdPath(); //returns C:\Program Files\totalcmd\TOTALCMD.EXE [it´s OK]
Process.Start(startInfo); //Start proccess
TC가 시작되지만 경로는 C : \ WINDOWS \ system32를 \ 설정 \ systemprofile 및 본건 아무도 제발 도와 드릴까요 이유를 알고?
편집 : 작동하지 오기 '"
대신
C:\Program Files\totalcmd>TOTALCMD.EXE /L="C:\WINDOWS\system32\config\systemprofile\Local Settings\Application Data\MyApp\update\download"
없이 cmd를 C:\Program Files\totalcmd>TOTALCMD.EXE /L=C:\WINDOWS\system32\config\systemprofile\Local Settings\Application Data\MyApp\update\download
에서 실행하지만 알고하지는 때 어떻게 프로그램에 "
을 추가하려면?