Log in

View Full Version : How to get full path of current file as string In MeGui?


wthreex
13th May 2020, 14:56
I do encode with One Click Encoder in MeGui, I usually putting files in a folder and encode them with "Select Folder" as input of Megui.

My question is how can i get full path of current file?

In Avisynth pane there is some sort of variable i think :

<input>
<deinterlace>
<crop>
<resize>
<denoise>


I tried this in script:



path = <input>

// my logic..



But it doesnt return path of file, I'm looking for some method that return something like this;



path = getDir(<input>)

// output: "C:\Users\Downloads\Video\file.mkv"