PDA

View Full Version : DGIndex & DGParse Batch Files


Lycaon
1st April 2005, 00:53
FWIW, I put these two Batch files together to help me with processing lots of video. They work as a front end "Drag and Drop" interface. They must be in the same directory as the EXE file their name refers to in order for them to work.

DGIndex.bat (http://shark.securenet-server.net/~pocketpc/doom9/DGIndex.bat)
This is set up with all the same defualts as DGIndex. It will output a D2V file in the same directory as your source video.

DGParse.bat (http://shark.securenet-server.net/~pocketpc/doom9/DGParse.bat)
This will output a text file in the same directory as the D2V file.


Enjoy,

Lycaon

Mug Funky
20th May 2005, 04:36
whoops, the files are gone (maybe because there's no replies?)

i was trying to do just this a few minutes ago. i'd like to use this as a basis for auto avs script generation :)

if you're still around, it'd be cool to see these batches (maybe just post in the thread inside [code] things?)

jp80
7th June 2005, 22:26
Yeah it would be nice for me to use them too.

Lycaon
18th August 2005, 03:46
Links have been updated. Sorry for such the long delay.

Let me know if it's what you're looking for.

Corran
24th August 2005, 09:00
Cool, is there a way to have it process multiple files if I drag more than one at a time?

Corran
25th August 2005, 08:25
Nevermind, I found a way to sort of do what I wanted. I created a FOR loop that examines the directory the dragged file is from for files with the extension VOB. It then creates a D2V project file for each file that is found this way.

Now I can easily batch process a bunch of VOBs with the simple drag of a mouse. ^_^ (I can be a bit lazy some times...)

@Echo Off
PATH %~dp0
FOR %%c in ("%~d1%~p1*.VOB") DO DGIndex.exe -IF=[%%c] -IA=3 -FO=0 -YR=1 -TN=1 -OM=2 -DRC=2 -DSD=0 -DSA=0 -OF=[%%c] -exit
Thanks for pointing me in the right direction. I never really messed with variables in MSDOS before your post with the corrected links.

EDIT: I'm not using the Auto-Input-Files command in my example because my goal was to create a single d2v for each file. Auto loading would not be useful for such a goal.