wildcard for paths and full filenames
Brought to you by:
binarydreams
Good app. However there is no way to represent the
path or the whole filename of the files. I need to encode
an avi file by 2-passes like the following. The 1st pass
use x.avi as input and x1.avi as output. The 2nd pass
use x.avi as input and x2.avi as output.
Suggest use * for the whole filename including path,
use ? for the filename without path, use & for the path
without filename. This way we can also put bulk output
files in the same directories as their original files.
Thanks.
Jim
Logged In: YES
user_id=40971
You should be able to accomplish this with the existing
wildcard abilities. If I understand you correctly, you want
to take a file C:\temp\x.avi (for example) and have the
first pass output to C:\temp\x1.avi and the second pass be
C:\temp\x.avi to C:\temp\x2.avi. This can be accomplished
using C:\temp\*.avi as input and C:\temp\*1.avi as output.
The second pass use C:\temp\*.avi as input and
C:\temp\*2.avi as output. The wildcard values are
calculated before execution starts, so you don't have to
worry about the input for the second step matching the
output (x1.avi) from the first step.
Please let me know if this works out for you...
Logged In: YES
user_id=1286563
That partly works but not all. The problem is by doing as you
said, I'll have to change the directory of the second pass
C:\temp\*.avi manually every time I process a new directory.
By using the wildcards I recommend(or similars), you could
make the template very generic and powerfull.
For example, I can use the following template to write the
output file into the source file's directory.:
1st-pass: *.avi >>> *-1.avi
2nd-pass: *.avi >>> *-2.avi
Here "*" represents filenames with full path but without ext.
If I want to write into a fixed temp directory and then write
back into the source directory, I can use this:
run1: *.avi >>> c:\temp\?.avi
run2: c:\temp\?.avi >>> *-done.avi
"?" represents the file name without path and ext.
If I want to write into a fixed temp file under the source
directory, I can use this:
run1: *.avi >>> &\tem.avi
run2: &\tem.avi >>> *-done.avi
"&" represents the source file's path without "\".
Hope this helps to make things clear.