View Single Post
Old 23rd November 2015, 20:40   #3
Bungkai
Junior Member
 
Join Date: Nov 2015
Posts: 23
Okay so I've done what you've said with success. I'm able to find the path based off of the registry. My problem now is that a certain file is also year dependent. as in [ApplicationName][year].[fileextension].

I was able to use IfFileExists to find out if say [ApplicationName]20*.lsp (it's an lsp file I'm looking for) to find if a certain path contains that file in the year 2000 to 2099. It's able to do that. My question is now, how do I put this into a variable to use? Putting the asterisk in a strcpy statement, detailprint or a fileopen puts the literal character in there. I need to be able to open any year version basically whether it be a file in the year 2000 or the year 2099
Bungkai is offline   Reply With Quote