use ExtractFilePath
Fore example: {ExtractFilePath(C:\Folder\File.ext)}
To see the full list of available variables use menu Optons->Variables
All system variables sorted by category
Extract Folder name
Re: Extract Folder name
Oleg Yershov