[Qt-interest] executing a batch process

Francesco Lamonica alienpenguin at gmail.com
Mon Dec 22 12:59:27 CET 2008


Hi, i am using qt 4.4.0 on win32 and using QProcess to start a dos
batch file, passing it three parameters
the batch file is this:

mergefiles.bat
copy /b %1 %2 %3
del %1 %2

i obviously pass 2 file names (with full path) and the new filename
that should be the result of merging the first two.

point is that the original files do not get deleted.
if i launch the batch file from a dos prompt it works as expected:
the merged file is created correctly.
It seems as if the second command does not get executed.

thanks for any suggestion



More information about the Qt-interest-old mailing list