Unable to load base folder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srm
    Journeyman
    • Sep 2008
    • 17

    Unable to load base folder

    Below are the results of my BC script failing. Note that in the U drive, there is no Tracker Demo folder. Do I first need to create that folder for the script to work? The folder is on my C drive.

    3/18/2009 4:01:11 PM >> load "C:\Tracker Demo\" "U:\Tracker Demo\"
    3/18/2009 4:01:11 PM Load Comparison: C:\Tracker Demo <->
    3/18/2009 4:01:11 PM Script Error: Unable to load base folder

    Thank you.

    Shawn
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Yes, "U:\Tracker Demo" will need to exist or the script will fail.
    Chris K Scooter Software

    Comment

    • srm
      Journeyman
      • Sep 2008
      • 17

      #3
      Chris:

      Thank you. Is there an option that will create base folders on the destination drive if they don't exist?

      Shawn

      Comment

      • Chris
        Team Scooter
        • Oct 2007
        • 5538

        #4
        No, there isn't an option that will create non-existent base folders. BC will always quit with an error if a base folder doesn't exist.
        Chris K Scooter Software

        Comment

        • srm
          Journeyman
          • Sep 2008
          • 17

          #5
          Chris:

          Thank You

          Shawn

          Comment

          • Aaron
            Team Scooter
            • Oct 2007
            • 16000

            #6
            There is not an option for this. I would only recommend this solution if you need this functionality. It will take more work to set up than it will to simply make sure the base folders exist.


            If you want to try, you can
            filter "-.\*.*;Tracker Demo\"
            load c:\ u:\
            expand all
            ...etc.

            This depends on the other steps of your script, as some may work on filtered out items (which would include your entire C:\).

            I would recommend testing this solution with
            C:\Tracker Demo\Sync Test
            U:\Tracker Demo\Sync Test

            filter "-.\*.*;Sync Test\"
            load c:\Tracker Demo u:\Tracker Demo

            where both Tracker Demo's already exist, but Sync Test does not.
            Aaron P Scooter Software

            Comment

            Working...