David,
>
>In Win98SE, if I launch something like xcopy, and click the Properties button I can check close window on exit, which will create a shortcut that stores the data from the property page. But you don't have to launch the program from the shortcut, double clicking xcopy.exe will run and close.
>
>There get to be fewer and fewer DOS commands that I tend to use, but they work fine from either ShellExecute or WSH.
That's what I thought, but the step to set the property can't be omitted. If it is, it doesn't close. Does a 32 bit console app close automatically? That's what I don't know.
George
Ubi caritas et amor, deus ibi est