Advertisement
2002C Files/ File Controls/ Input/ Output #13407

Execute a file Correctly

It correctly executes a program

AI

Riepilogo 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.

Codice sorgente
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."
Commenti originali (3)
Recuperato da Wayback Machine