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: D&D Robot update causes issues running old items  (Read 13,721 times)

springro

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 41
D&D Robot update causes issues running old items
« on: June 03, 2008, 03:49 PM »
Hi,

I'm having an issue after upgrading where the program will no longer process batch files. 

Command:
C:\RunRobot\fixes_drapdroprobot.bat "%A"

Batch file just has this:
cd "%1"
cscript "C:\RunRobot\fixes.vbs


Error message:
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
Execution complete.


Odd that it's reporting this when there isn't any Program files reference it seems. 

Help!

Thanks,
Rob
« Last Edit: June 03, 2008, 03:55 PM by springro »

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
Re: D&D Robot update causes issues running old items
« Reply #1 on: June 03, 2008, 09:07 PM »
Good find -- seems i didn't test a new piece of code i added to support language scripts (like .pl perl scripts, etc.)
Try updating or re-downloading, should be fixed now.

For those who care, the new version will create a temporary batch file and run that for you if you specify a script file on the commandline.  The bug was being caused because of a combination of the program mistakenly thinking it should make a batch file combined with it not remembering to use the short version of the filename, needed when i shell the batch file.  Should be all fixed now.

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