Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
System Files
#3
This is an interesting topic since I am facing similar problems. I use the following codes to find an executable but I have not tested it if the executable is on another drive.

Code:
Copy      Help
Dir d; str vPath
foreach(d; "c:\listing.exe" FE_Dir 0x4)
     vPath=d.FileName(1); err
     if vPath =! ""
          break
out vPath


From the above code, this will only search for the C drive correct? What if there are other drives? And it happens that the program is installed on another drive other than the C?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)