I could have sworn that I used the /N switch to hid the command window but maybe windows 7 is different. I would create a batch file and then run the batch file. You might want to look at shellExecute(). I think Sergey has some help on his site for this.
>is there any restriction for RUN /n ?
>
>I tried:
>
>
>RUN mysqldump -umyid -pmypass admdata > c:\backup1.txt
>RUN /n mysqldump -umyid -pmypass admdata > c:\backup2.txt
>RUN mysqldump -umyid -pmypass admdata > c:\backup3.txt /n
>
>
>the first one (without /n) creates a complete backup file.
>the second one (with /n) doesn't create any file.
>the third on (with /n at the back) create an empty file
>
>Thanks for the help.