title: AppleScript access Network Folder
body: <p>I'm trying to make a backup of a folder on our network to my Desktop but I'm not sure how to access the folder on the shared network. My code is as follows:</p>
  
  <pre><code>on run {input, parameters}
  
      set desktopFolder to "Macintosh HD:Users:James:Desktop:App Backups:"
      set todayDate to do shell script "date '+%Y.%m.%d'"
      set newFolderName to "Backup " &amp; todayDate
      set destinationFolder to desktopFolder &amp; newFolderName
      set sourceFolder to "smb://svr01/IT_Department/Design/_team/James/App"
  
      tell application "Finder"
          make new folder at alias desktopFolder with properties {name:newFolderName}
          copy folder sourceFolder to folder destinationFolder
      end tell
  
      return input
  end run
  </code></pre>
  
  <p>Should I be using the smb://... address or the Volumes/.... address, and how should I format it? I'm a complete AppleScript novice, by the way!</p>
  
  <p>Thanks
  James</p>