topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 2:01 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Is this Possible in D&DR?  (Read 14896 times)

ragnar01

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 6
    • View Profile
    • Donate to Member
Is this Possible in D&DR?
« on: April 07, 2006, 10:46 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

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Is this Possible in D&DR?
« Reply #1 on: April 07, 2006, 11:00 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.

ragnar01

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Is this Possible in D&DR?
« Reply #2 on: April 07, 2006, 11:39 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

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Is this Possible in D&DR?
« Reply #3 on: April 07, 2006, 11:49 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.

ragnar01

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 6
    • View Profile
    • Donate to Member
Re: Is this Possible in D&DR?
« Reply #4 on: April 08, 2006, 12:10 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


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Is this Possible in D&DR?
« Reply #5 on: April 08, 2006, 12:24 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.