파일 존재 유무 확인 코드
Dim CheckPath As String CheckPath = "c:\test\test.dat" '자기자신 경로에 있을경우 CheckPath = App.Path & "\test.dat" If Dir(CheckPath) <> "" Then Shell "hex2000.exe filename.out" '자기자신 경로에 있을경우 Shell App.Path & "\hex2000.exe filename.out" End If