In a VB4 programm, as soon as the form is loaded, a small text-file named c.txt is been examined. The file has to be in the windows directory and the path of the file is:
The code is:
FileNum = FreeFile
Open "c:\windows\c.txt" For Input As FileNum
But suppose that a user has the Windows installed in another directory, (named win or wingk or something similar and NOT Windows), how could I be sure then that the file c.txt will be found (with the statement OPEN) and be opened?