Hi,
This comand is working under dos:
Code:
psexec \\stchps426 -u administrator -p password -c -e -f -n 6 "i:\Adobe Reader7.0.exe" >log.txt 2>&1
This is running but the parameter >log.txt 2>&1 not:
Code:
QString arguments = "\\\\" + hostname + " -u " + username + " -p " + password + " -c -e -f -n 6 " + zeichen + path + "\\" + software + zeichen + zeichen2; #ifdef Q_OS_WIN32 ShellExecute(NULL, NULL, (LPCWSTR)exePath.toStdWString().data(), (LPCWSTR)arguments.toStdWString().data(), NULL, SW_HIDE); #endif
Can somebody see why? :crying: