here's the comment area for today's blog post found at
www.zabkat.com/blog/smart-TV-plays-AVI.htm
blog: batch convert AVI to MP4
Moderators: fgagnon, nikos, Site Mods
Re: blog: batch convert AVI to MP4
The script in your text doesn't match the script in the image of the dialog box.
There is a problem in your example because the double backslash happens when using $P to substitute in the ROOT folder. The movies need to be in a folder other than the root for this script to work.
The double quote is in the right place in the text, wrong in the image.
Just saying...
--------------------
PJ in FL
There is a problem in your example because the double backslash happens when using $P to substitute in the ROOT folder. The movies need to be in a folder other than the root for this script to work.
The double quote is in the right place in the text, wrong in the image.
Just saying...
--------------------
PJ in FL
Re: blog: batch convert AVI to MP4
I thought somebody would notice that eventually, well done
the template in the text is correct though and as most people will have items in subfolders, the double backslash won't be an issue
the template in the text is correct though and as most people will have items in subfolders, the double backslash won't be an issue
Re: blog: batch convert AVI to MP4
I think the take-away is the inconsistency of the variables.
Perhaps $P should not have the backslash appended if the current folder is the root.
If someone has defined their movie subfolder to be a SUBST drive, then that appears like a root directory, and scripts that "assume" no backslash on the end, like the $tokens help screen shows, will be surprised, confused, and even miffed that the variable is inconsistent.
Also, the $C variable is even more inconsistent, with the output like "Local Disk (I:)" or "SDSX (D:)", this variable is almost unusable.
With D: being an inserted SDXC card and I: being a local folder with a root folder definition via SUBST, variable outputs are a little kooky:
Maybe a rethink of the variables is in order?
Just saying....
------------------------
PJ in FL
Perhaps $P should not have the backslash appended if the current folder is the root.
If someone has defined their movie subfolder to be a SUBST drive, then that appears like a root directory, and scripts that "assume" no backslash on the end, like the $tokens help screen shows, will be surprised, confused, and even miffed that the variable is inconsistent.
Also, the $C variable is even more inconsistent, with the output like "Local Disk (I:)" or "SDSX (D:)", this variable is almost unusable.
With D: being an inserted SDXC card and I: being a local folder with a root folder definition via SUBST, variable outputs are a little kooky:
Code: Select all
$P = [ D:\ ]
$C = [ SDXC (D:) ]
$U = [ D:\MISC ]
$L = [ I:\ ]
$R = [ D:\ ]
Code: Select all
$P = [ I:\ ]
$C = [ Local Disk (I:) ]
$U = [ I:\test ]
$L = [ D:\ ]
$R = [ I:\ ]
Just saying....
------------------------
PJ in FL
Re: blog: batch convert AVI to MP4
there are always alternative tokens that do the same job.
btw the double backslash isn't a problem for DOS commands at least
btw the double backslash isn't a problem for DOS commands at least