BashC:\Program Files\Far>cmd /C copy macros.txt macros.txt2Скопировано файлов: 1. C:\Program Files\Far>
C++ (Qt)QString program = "cmd";QStringList arguments;arguments << "/C" << "help"; QProcess *cmd = new QProcess(this);cmd->start(program, arguments);cmd->waitForFinished();qDebug() << cmd->readAll();cmd->close();