Currently I am using the Functions kindly provided at http://www.autoitscript.com/forum/index.php?showtopic=95580&view=findpost&p=687288, but they only accept a FullPath e.g. "C:\Program Files\AutoIt3\AutoIt3.chm" So is there a simply approach without using a While...WEnd loop and StringTrimRight() + StringRight() to find the following below with only specifing the FileName e.g. _GetFileNameExExt("AutoIt3.chm") 1. Find the Extension e.g. .chm And/Or chm 2. Find the FileName (minus t