даже не знаю, что может быть
вот пример кода, у меня работает
Код:
![Выделить весь код](images/misc/selectcode.png)
#include "stdafx.h"
#using <mscorlib.dll>
#using <System.dll>
using namespace System;
using namespace System::Diagnostics;
using namespace System::ComponentModel;
void OpenWithStartInfo()
{
ProcessStartInfo^ startInfo = gcnew ProcessStartInfo( "bcdedit.exe");
startInfo->WindowStyle = ProcessWindowStyle::Minimized;
Process::Start( startInfo );
startInfo->Arguments="/export 1.txt";
Process::Start(startInfo);
}
int main()
{
OpenWithStartInfo();
}