View Full Version : Commas in filenames seems to break DGIndex cmd-line
lcx
25th April 2006, 04:52
Commas and ampersands break DGIndex command-line.
For example,
dgindex.exe -IF=[Some, File.mpg] -IA=5 -OM=0 -EXIT -OF=[Some, File]
does not work.
I understand why this happens.
I looking for any workaround suggestions other than renaming the files.
BTW,
I tried quotes around filenames and the whole parameters, but neither works.
setarip_old
25th April 2006, 07:08
Hi!Commas and ampersands break DGIndex command-line.As would likely also any other non-alphanumeric characters, including blank spaces.I looking for any workaround suggestions other than renaming the files.If the present filename includes invalid characters, I doubt there's any other alternative...
Mug Funky
25th April 2006, 13:08
works for me...? i'm using version 1.4.6b1
i notice that ampersands don't work, but that's a limitation of winXP's batching rather than DGindex (i do my d2vs with a batch file associated with .m2v files - makes things very quick... just right-click, select "make d2v" in the menu, and out comes a d2v and an avs to load it).
[edit]
try put this in a batch and run it with a .vob or .m2v as argument:
"C:\Path\To\DGIndex.exe" -OM=0 -AIF=[%1] -OF=[%~dpn1] -exit
stax76
25th April 2006, 14:02
The CLI is known to have limitations and missing features like source files need a switch so you can't use a command line like 'DGIndex.exe C:\test.mpg', this prevent the usage of many typical shell operations like drag & drop, you can't use unicode filenames, you can't use commas, you can't use shell macros like '%1 %*'.
lcx
26th April 2006, 04:27
Thx Mug Funky but the batch file idea doesn't work.
lcx
26th April 2006, 05:20
The following in line 381 of gui.cpp is causing the issue with commas.
(fptr = strstr(ptr, ",")) ||
Anyone know why it is in there in the first place?
Guest
26th April 2006, 14:21
The following in line 381 of gui.cpp is causing the issue with commas. Anyone know why it is in there in the first place? Commas are used as delimiters for file lists. It's been discussed many times here.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.