title
Products            Buy            Support Forum            Professional            About            Codec Central
 

run external calling batch file problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • coppo23

    • Jun 2008
    • 6

    run external calling batch file problem

    Hi. I am a new user - been playing with the demo for a while and now have bought reference today. I cannot get the dsp run external to call an external batch file. I have tried everthing I can think of - currently I have a simple file c:\apc.bat that would echo hi andy and pause for a key press. It should be called after the batch conversion is done - but it isn't. What should I enter in the program and/or commandline boxes on the dsp settings?

    (Ideally this batch file will be used to do a few things such as copy artwork, make files read only etc etc)


    I have a second question. Is it possible to have the no to overwrite all as a default option - or am I missing something? (i.e I use it as an incremental copy of all my flacs to mp3s) I have several thousand files and when I start a conversion - it will be an hour or two before it pops up the "these exist - overwrite?" option. Usually gone to bed by then!

    Brilliant package!
  • Spoon
    Administrator
    • Apr 2002
    • 44613

    #2
    Re: run external calling batch file problem

    Try running:

    "c:\windows\system32\cmd.exe"

    See if that pops up a command window.
    Spoon
    www.dbpoweramp.com

    Comment

    • coppo23

      • Jun 2008
      • 6

      #3
      Re: run external calling batch file problem

      Have tried cmd.exe before but did it again to be sure. No it doesn't pop up.

      Andy

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44613

        #4
        Re: run external calling batch file problem

        Do you have security software which might be stopping dbpoweramp from running programs?
        Spoon
        www.dbpoweramp.com

        Comment

        • coppo23

          • Jun 2008
          • 6

          #5
          Re: run external calling batch file problem

          Tried on 2 different boots (same machine though) both xp SP2 - one has blueyonder pcguard and the other has the standard sp2 firewall and bit defender. There was nothing shown up in the log in windows firewall log. Not sure if there is a log on pcguard - it pops up when things are blocked and there was no popup for dbpoweramp.

          I have tried just the batch file with path, also with cmd.exe and the batch file. I tried a short batch name in the root of c so the whole thing was a very short path. I have tried "call apctest.bat" as one woudl do if calling a batch file from another. None of these ideas work.

          Andy

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 44613

            #6
            Re: run external calling batch file problem

            Try setting run external to run after each file is converted, does that work?
            Spoon
            www.dbpoweramp.com

            Comment

            • coppo23

              • Jun 2008
              • 6

              #7
              Re: run external calling batch file problem

              Hi Spoon

              No - that doesn't work either as far as I can tell. I have tried with and without cmd.exe on 2 completely different machine installations now. (Both XP sp2 - one is a clean installation - the other has a lot of rubbish on it.) They both behave the same.

              Andy

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44613

                #8
                Re: run external calling batch file problem

                After testing:

                The CLI string has to have something in it, even a ' ' space for run external to work. The cmd.exe example above was a bad one as the pipes are redirected and cmd.exe closes straight away, but if you set to:

                Program: C:\Windows\Notepad.exe
                CLI: ' '

                it will work.
                Spoon
                www.dbpoweramp.com

                Comment

                • LtData
                  dBpoweramp Guru

                  • May 2004
                  • 8288

                  #9
                  Re: run external calling batch file problem

                  If you are having to use cmd.exe to open a batch file, put a "/k" in there, as it makes the window persist and wait for input, like a normal cmd window. Or put a "pause" in the batch file.

                  Comment

                  • coppo23

                    • Jun 2008
                    • 6

                    #10
                    Re: run external calling batch file problem

                    No joy I'm afraid. My batch file is not getting called (it does have a pause in it). Its not the end of the world - but did simplify the tidy up after the conversion. I am working from a manual 'script' at present.

                    Thanks for trying

                    Andy

                    Comment

                    Working...

                    ]]>