I wasn't the first to answer (currently I only have the time to check the forum once a day :(). Yes, the path is the current directory, but it doesn't give you the file name. I don't think there is a way to do it now, but I can easily add this to avisynth, in a $ScriptName$ variable for instance (like the $PluginDir$ variable). But you should be prepared to catch the exception if the variable doesn't exist when, for instance, a filtergraph is created programmaticaly and no script is used. Agreed ?