Log in

View Full Version : [RESOLVED]Access folder above in AviSynth?


AviUser
16th May 2009, 03:34
Hi, sorry if this is a noob question, but how do I access the folder above in AviSynth?

For example, let's say I have a folder with a path of "C:\a\b\c\myfolder"
I have a avisynth script in that folder.
What I want to do is AviSource("C:\a\b\c\something.avi")
Is there any way I could do this without having to type the full path out?

I know you can do this with sub folders. Like AviSource("happy\me.avi") is the same as AviSource("C:\a\b\c\myfolder\happy\me.avi")

Thanks in advance.

Groucho2004
16th May 2009, 09:56
Haven't tried it but this should work:

AviSource("..\something.avi")

AviUser
16th May 2009, 16:40
Haven't tried it but this should work:

AviSource("..\something.avi")


It works. :thanks: