blog: batch convert AVI to MP4

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
User avatar
nikos
Site Admin
Site Admin
Posts: 15820
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

blog: batch convert AVI to MP4

Post by nikos »

here's the comment area for today's blog post found at
www.zabkat.com/blog/smart-TV-plays-AVI.htm
pj
Gold Member
Gold Member
Posts: 479
Joined: 2006 Jan 26, 14:01
Location: Florida

Re: blog: batch convert AVI to MP4

Post by pj »

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
User avatar
nikos
Site Admin
Site Admin
Posts: 15820
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: blog: batch convert AVI to MP4

Post by nikos »

I thought somebody would notice that eventually, well done :P
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
pj
Gold Member
Gold Member
Posts: 479
Joined: 2006 Jan 26, 14:01
Location: Florida

Re: blog: batch convert AVI to MP4

Post by pj »

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:

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:\ ]
Maybe a rethink of the variables is in order?

Just saying....

------------------------
PJ in FL
User avatar
nikos
Site Admin
Site Admin
Posts: 15820
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: blog: batch convert AVI to MP4

Post by nikos »

there are always alternative tokens that do the same job.
btw the double backslash isn't a problem for DOS commands at least
Post Reply