# 如何得知外部执行档已执行完毕?

Posted by 邱千真 on June 02, 1998 at 01:49:42:

[vb6专业版]
tpath="c:\temp"
marj2 = "c:\to_tk\S" + Right(AC.path, 2) + Format(Now, "mmdd")
ChDrive "C:"
ChDir tpath
A = Shell("ARJ A " + marj2 + " *.*", vbMaximizedFocus) ' vbHide)
ChDrive Left(AC.path, 2)
ChDir AC.path
Kill (tpath + "\*.*")
RmDir (tpath)

我希望能在执行 arj 动作结束后再继续下面程式,
却不知该如何判断 arj 已执行完毕.
谢谢

Follow Ups:

- 公用程式集的 qaShellWait 小吴 23:16:48 6/02/98 (0)