This command line I got from someone on this site and is in a batch file and wherever this batch file resides, it will loop through and get all the ".mpv" files and do a pulldown on them.
<command>
for %%a in ("*.mpv") do "D:\Storage\source\exe\dgpulldown1011\DGPulldown.exe" %%a -srcfps 23.976 -destfps 29.97 -o dgp_%%a
</command>
In DOS, how can I make it to where the output "-o" goes into a directory that I specify? I have looked all over the Internet and cannot find the answer. As of now, it goes into the same directory and I would like to get rid of the "dgp_" and have it go into another directory.
+ Reply to Thread
Results 1 to 10 of 10
-
-
Originally Posted by Soopafresh
I get pop up errors saying it cannot open the output directory. I think it is because the output directory has spaces in it, any ideas? -
Originally Posted by Soopafresh
Let me try changing it back to the directory with spaces and try your way.
Thanks for your patience -
If you run this from the command line, you have to remove 1 of the % from the variables. If you run it from a batch file, you keep both %% in the script.
%a = command line
%%a = batch file -
Originally Posted by Soopafresh
Here is what I have tried:
-o "c:\temp\%%a"
-o c:\temp%%a
-o \c:\temp\%%a
-o "\c:\temp\%%a"
None seem to work -
Try
for %%a in ("*.mpv") do "D:\Storage\source\exe\dgpulldown1011\DGPulldown.exe" "%%a" -srcfps 23.976 -destfps 29.97 -o "c:\temp\%%a" -
Originally Posted by Soopafresh
So if I want to have this run through the command line, I need to use 1 % instead of 2 correct?
Similar Threads
-
How to Use x264 Command Line
By Anonymous344 in forum Newbie / General discussionsReplies: 37Last Post: 2nd Nov 2013, 08:49 -
About cdex command line
By kathir. in forum DVD RippingReplies: 0Last Post: 21st Jul 2011, 02:25 -
Command-line command for fixing AVI?
By timur in forum ffmpegX general discussionReplies: 1Last Post: 23rd Sep 2009, 02:23 -
command line
By exekutive in forum ffmpegX general discussionReplies: 22Last Post: 1st Jun 2008, 23:44 -
VobSub command line
By Zhango in forum SubtitleReplies: 4Last Post: 26th Jul 2007, 08:04