Announcement

Collapse
No announcement yet.

too many arguments error

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

  • too many arguments error

    Good morning.
    This is probably a simple fix. So I won't waste any extra time with explanations. I receive the following error when trying to run a backup script through BC:

    7/26/2010 10:31:52 AM >> load \\[servername]\[folder to backup]\l:\Backup_daily1\Trad_Promo
    7/26/2010 10:31:52 AM Fatal Scripting Error: Too many arguments
    7/26/2010 10:31:53 AM Script completed in 1.53 seconds

    any ideas??
    Thanks,
    Bigsaff

  • #2
    Are there spaces in the path name? Have you tried enclosing it in double quotes?
    BC v4.0.7 build 19761
    ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

    Comment


    • #3
      I agree with Michael. Usually this is caused by spaces in a path or file name,
      try:
      Code:
      load "\\server name\folder" "\\server name2\folder"
      Is "\I:\" part of your specific example text? Or is it \I$\?
      Aaron P Scooter Software

      Comment


      • #4
        Many thanks

        Thank you for your insight. The quotes did fix the problem. I am sorry it took me so long to get back here and bring closure.
        Thanks again.

        Comment

        Working...
        X