Search found 9 matches

by icon123
11 Oct 2012 21:58
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: (REOPENED) Help creating a batch file

Works perfect as usual. Thanks again. I really appreciate it.
by icon123
11 Oct 2012 14:01
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file - How can I make it drag and

Try this: @echo off md "%~dp1\dir2" 2>nul set num=0 :loop set /a num=num+1 set var=%var%+"%~1" set file~%num%="%~1" shift if not "%~1"=="" goto :loop set "var=%var:~1%" echo "c:\my folder\program.exe" %var% for /f "tokens=1,...
by icon123
15 Sep 2012 08:28
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file - How can I make it drag and

Thanks for all the help. The scripts work great. The only problem with the drag and drop on the first script is I have to remember to drag the first file in the list otherwise they get out of order. Not the script's fault, just nature or dragging and dropping. Also the send to is a good suggestion a...
by icon123
14 Sep 2012 09:17
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file - How can I make it drag and

Awesome, thanks so much! I have one more request. Can you tell me how I would modify the below script for drag and drop and moving the source files as well. Similar to what you just did with the other script. Thanks. @SET mkvmerge_PATH=C:\mkvtoolnix\mkvmerge.exe @SET eac3to_PATH=C:\eac3to\eac3to.exe...
by icon123
14 Sep 2012 08:49
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file - How can I make it drag and

I want to move the source files.
by icon123
14 Sep 2012 08:02
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file - How can I make it drag and

Works great, thanks. What would I have to add to the script to move the files that I drag and dropped to another directory? For example if the files that I drag and drop from is in directory \dir1, I want to move the processed files to \dir1\dir2. Thanks again.
by icon123
13 Sep 2012 11:57
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file...

I had to take the spaces out between the " and the +, maybe that did it. Regardless, its working great. Thank you so much, I spent a lot of time on that one. Now for a tweak... Is there anyway I can modify it to only use the files that I drag and drop onto the .bat file? Currently, if I drag an...
by icon123
13 Sep 2012 11:05
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

Re: Help creating a batch file...

Thank you both! Looking at foxidrive's example, it appears that whe the %var% is added to the command line, it is missing the first " around the 1st value. i.e. the command line becomes: program.exe file1.ext"+"file2.ext"+"file3.ext" ... Edit: I added a " to the co...
by icon123
13 Sep 2012 10:10
Forum: DOS Batch Forum
Topic: (SOLVED) Help creating a batch file
Replies: 22
Views: 11931

(SOLVED) Help creating a batch file

Hi, I am trying to write a batch file that will take all file names in a directory that match *.ext and put them in a command line. The command line is: program.exe file1.ext + file2.ext + file3.ext + ... I have been trying a few different things with for loops, but I can't figure this out. Thanks f...