Hi, I like to close window msdos automatically. Is there a way to close window msdos program from vfp.
here is mycode
dosShell = CREATEOBJECT("wscript.shell"
dosShell.Run(dosCmd,1,.t.)
where dosCmd is my dos program
when the program finish executing, the window is still there until I close manually.
Eng An
here is mycode
dosShell = CREATEOBJECT("wscript.shell"
dosShell.Run(dosCmd,1,.t.)
where dosCmd is my dos program
when the program finish executing, the window is still there until I close manually.
Eng An