DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Errors with v1.09.01 when running batch files - The filename, directory name,...  (Read 30,252 times)

jballi

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 22
Just installed v1.09.01.

The program works well with standard executables (.exe) but for some reason, the program no longer likes double quotes around parameters when executing batch files.

For example, when I run this test:

C:\Program Files\bin\Test.bat %F1 "%2"

I get the following error message:

The filename, directory name, or volume label syntax is incorrect.

This is the most common error that occurs.


I get a similar error message when I run this (just an example):

C:\Program Files\bin\LAME.bat --decode "%N" "%NO.wav"

...returns this error message:

'C:\PROGRA~1\bin\LAME.bat" --decode "Test.mp3" "Test.wav' is not recognized as an internal or external command, operable program or batch file.

When I remove the double quotes from the parameters, these errors go away but of course, the programs don't work if the path or file name has spaces.

Thanks in advance for your assistance.  Let me know if you need any additional information.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
sorry i missed this when it was first posted !

i will fix the problem with .bat files this weekend and upload a new version.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
fixed, see latest post here.

Original address: https://www.donationcoder.com/forum/index.php?topic=793.0