471,350 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Dos windows not close up

Hello,

This following window launch a Xcopy dos command, but the
window is not closing after the operation. (only with OS
win 98, 2000 and XP are ok )

Please I am stuck, what can I do ?

Thanks for your help
Code:
=====

if (osVersion.IndexOf("Windows 98",1) > 0) //Windows 98
{
compiler.StartInfo.FileName = "Xcopy32.exe";
compiler.StartInfo.Arguments = " " + @sWkDir + "\\" +
strNewHtmDir + " " + @sWkDir + "\\" + strDecompileChmDir +
" " + "/S /Y";
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.CreateNoWindow = true;

compiler.Start();
while (!compiler.WaitForInputIdle(100))
{
Application.DoEvents(); }

// compiler.Kill();


Jul 21 '05 #1
0 761

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mark McEahern | last post: by
1 post views Thread by WKC | last post: by
3 posts views Thread by Isabel | last post: by
3 posts views Thread by victorcamp | last post: by
7 posts views Thread by Andrew Poulos | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.