Search a file in PATH environment variable
Category:Files and Directories
Version Compatibility: Visual Basic 6
This code uses de Path environment variable to search a file and return the complete filename if it exists or an empty string if it doesn't exists. Thanks to Waty Thierry for the FileExists function. Thanks and sorry for my english.
Instructions: Copy the declarations and code below and paste directly into your VB project.