Welcome Guest.   Make a donation to an author on the site October 31, 2014, 04:31:59 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Check out and download the GOE 2007 Freeware Challenge productivity tools.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Is this Possible in D&DR?  (Read 7907 times)
ragnar01
Supporting Member
**
Posts: 6


View Profile Give some DonationCredits to this forum member
« on: April 07, 2006, 10:46:13 PM »

Program looks interesting but it I'm finding it hard to get my head around its capabilities.

What I would like to do is as follows

I have an arbitrary number of directories (of mp3s) named Artist-year-Album most of which contain a file named folder.jpg

I would like to drop a bunch/some/all of these directories to D&DR and copy each Artist-year-Album\folder.jpg to an arbitrary directory\Artist-year-Album.jpg.

my first guess at the command line would be    (cmd.exe) copy %A\folder.jpg e:\desktop\test\%A.jpg which doesn't work because the program can't find an exe file in the string but I'm not sure if my understanding of the parameters is correct in any case.

Is my request possible with this program?

Thanks for you help.

ragnar01
Logged
mouser
First Author
Administrator
*****
Posts: 33,613



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: April 07, 2006, 11:00:35 PM »

great question -
i think youve got everything right except as you say it wants a real exe filename as the tool.

your best solution might be to use the old XCOPY.exe which might be good for other reasons.
i'm not sure if xcopy.exe comes installed in the windows dir by default?

there is also this freeware program xxcopy which is similar
http://www.xxcopy.com/index.htm

the other option would be for you to make a .bat file which calls copy, and then invoke the bat file from d&d.

let me know if you get your problem solved.
Logged
ragnar01
Supporting Member
**
Posts: 6


View Profile Give some DonationCredits to this forum member
« Reply #2 on: April 07, 2006, 11:39:14 PM »

awesome response time!

tried xxcopy but it wanted to make folders, copy.bat ->   copy %1 %2 sort of works - at least it executes

still hung up on getting the parameters right

e:\desktop\copy.bat E:\desktop\test\folder.jpg E:\desktop\test\junk.jpg  works but isn't particularly useful.

e:\desktop\copy.bat %A\folder.jpg E:\desktop\test\junk.jpg does nothing

e:\desktop\copy.bat %NO\folder.jpg E:\desktop\test\junk.jpg does nothing

any quick suggestions?

as a side request have you ever thought about putting output fields in the program that would show the values of the parameters available or alternately suggest a program or batch file that would take the folder dropped and write some type of output file that would show the exact values of all of the parameters determined from the dropped folder?

ragnar
Logged
mouser
First Author
Administrator
*****
Posts: 33,613



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: April 07, 2006, 11:49:30 PM »

first suggesting, put the arguments in double quotes in case you have spaces in your filenames

ie
e:\desktop\copy.bat "%A\folder.jpg" "E:\desktop\test\junk.jpg"

see if that helps, if not, put an echo in your bat file to see what it thinks are %1 and %2
and see if you can tell me a little more about where you get stuck.
Logged
ragnar01
Supporting Member
**
Posts: 6


View Profile Give some DonationCredits to this forum member
« Reply #4 on: April 08, 2006, 12:10:48 AM »

awesome

worked perfectly, at least with 2 folders, will try the 1500 folder, full library test tomorrow!

e:\My Documents\copy.bat "%NO\folder.jpg" "E:\desktop\test\%NO.jpg"   <----working command line

this brings up another idea how the program could be used

I have a number of arbitrarily named folders that contain a multi part rar file of unknown name with associated multiple par files

upon dropping folder(s) I would like to execute Quickpar to check and repair the rar files and then extract the rar file to a specific directory

I think this goes back to the recent feature request on how to filter to a specific file

would need to execute Quickpar or similar program on a _Single_ par file (any 1 only)

then would have to execute WinRar on the single rar file in the directory

has anyone looking in tried something like this.

thanks for your help.

(late now, will look in tomorrow)

ragnar

Logged
mouser
First Author
Administrator
*****
Posts: 33,613



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: April 08, 2006, 12:24:55 AM »

here is what i do in cases like you are mentioning - i THINK this will cover your case, but may not if you have multiple files in a dir with same file extension.

but basically what i do is run a file search using a file search tool, and drag and drop the resulting file list into d&d.

Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.028s | Server load: 0.08 ]