Dragon Global Forums

Go Back   Dragon Global Forums > Other Software > DirMon Discussion

DirMon Discussion Discussion related to the DirMon application produced by Dragon Global. Questions, issues, problems, suggestions, etc. regarding Dragon Global should be posted here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-21-2007, 08:03 AM
Junior Member
 
Join Date: May 2007
Posts: 4
bashers is on a distinguished road
Default Do bat files run in a different way when they are run from DirMon not command line?

I have a bat file which runs perfectly on its own.
It will not run succesfully from within dirmon and it keeps cycling.

Quote:
"c:\program files\mplayer\mencoder" "%~dpn1.mpg" -edl "%~dpn1.edl" -oac copy -ovc copy -of mpeg -o "%~dpn1_clean.mpg"
if EXIST "%~dpn1_clean.mpg" delete "%~dpn1.mpg"
if EXIST "%~dpn1_clean.mpg" move "%~dpn1_clean.mpg" "%~dpn1.mpg"
del *.edl
del *.txt
del *.log
The file gets processed by mencoder but the delete comands don't so it keeps processing the same file.
Do i need to rewrite bat files so they contain paths to all commands?
I'd rather not as i'd prefer to only have the one file that i can run manually and also from within dirmon

I've just tried to see if i can do this with clean up but i don't think it is possible
Reply With Quote
  #2 (permalink)  
Old 05-21-2007, 08:42 AM
Junior Member
 
Join Date: May 2007
Posts: 4
bashers is on a distinguished road
Default fixed it!

I'm using this instead now

"c:\program files\mplayer\mencoder" "%~dpn1.mpg" -edl "%~dpn1.edl" -oac copy -ovc copy -of mpeg -o "%~dpn1_clean.mpg"
if EXIST "%~dpn1_clean.mpg" delete "%~dpn1.mpg"
if EXIST "%~dpn1_clean.mpg" move "%~dpn1_clean.mpg" "%~dpn1.mpg"
del "%~dpn1.edl"
del "%~dpn1.txt"
del "%~dpn1.log"
del "%~dpn1.logo.txt"
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the command line variables? cnovak DirMon Discussion 0 11-24-2007 06:41 PM
Command Line Options craigdthom ShowAnalyzer Beta 1 11-05-2007 07:29 PM
Command line switch to generate EDL files phredeaux ShowAnalyzer Beta 0 08-22-2007 09:13 AM
Job setup with Command Line variable vhurst DirMon Discussion 5 02-23-2007 05:01 AM
Command Line substitution mickelin DirMon Discussion 3 01-08-2007 06:27 PM


All times are GMT -4. The time now is 11:46 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0