>>>>>I want to check if an EXE exists, but I only want to look in the same directory of the EXE that is currently running (the one doing the checking). Thanks!
>>>>
>>>>if file(forcepath("other.exe",justpath(application.servername)))
>>>>
>>>>Cetin
>>>
>>>What is Application.ServerName? First part is MyCurrentlyRunningApp? What is the ServerName part?
>>
>>It worked well with just using this, so I'm guessing that the ServerName thing isn't anything that matters:
>>
>>
>>IF FILE(FORCEPATH('EMPS.exe', JUSTPATH('EMPS_Admin.exe')))
>>
>>
>>Thanks!
>
>Oh you hardcoded:) Switch back to application.servername so it wouldn't fail if someone changes the exe name:)
>Cetin
Ahhhhh! Now I get it. Application.ServerName is actually a system variable. Doh! Even better. Thanks!