Announcement

Collapse
No announcement yet.

Copying Master Home Directory

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

  • Copying Master Home Directory

    Is it possible to automatically create and copy contents of a Master Home directoy to new users?


    [This message has been edited by dodo (edited 03-20-2003).]

  • #2
    Re: Copying Master Home Directory

    You can use Home Directory Templates under Tools->Settings->Home Dir to configure the way you want the directory and share created. To copy files to that directory, you can setup a batch file for this and enter the path to that file in the After creating home directory, run: box at the bottom of the template.

    Comment


    • #3
      Re: Copying Master Home Directory

      OK thats what I figured...the template works fine, however I get an error that it is unable to execute the batch file.

      I copied the batch file to the hyena directory, is this the wrong place for it?


      [This message has been edited by dodo (edited 03-20-2003).]

      Comment


      • #4
        Re: Copying Master Home Directory

        Try putting it in the root of c:, and enter in c:\file.bat. This way we know it finds it. Add PAUSE at the end of your batch file so it will pause execution to make sure you aren't getting any errors when it runs. And finally, go to Tools->Settings->User and check the box to Show Batch File Command Windows.

        Comment


        • #5
          Re: Copying Master Home Directory



          [This message has been edited by dodo (edited 03-20-2003).]

          Comment


          • #6
            Re: Copying Master Home Directory

            I believe you'll need to use %3 instead of %username%.

            If you add the following to the top of your batch file you can see what each variable equates to:

            echo 1=%1
            echo 2=%2
            echo 3=%3
            echo 4=%4
            echo 5=%5
            echo 6=%6
            echo 7=%7
            echo 8=%8

            Comment


            • #7
              Re: Copying Master Home Directory

              Thanks cmcc!



              [This message has been edited by dodo (edited 03-20-2003).]

              Comment

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎