Advertisement
2002ASP Files/ File Controls/ Input/ Output #4803

Execute a file Correctly

It correctly executes a program

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
DirPath = [Path of file]
  On Error GoTo err:
  X% = Shell(DirPath, 1): NoFreeze% = DoEvents(): Exit Sub
  Exit Sub
err:
  If err.Number = 6 Then Exit Sub
  MsgBox "Please make sure you have the correct path and then try again."
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine