Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jonmc99

    Dynamically create folder structure on UNC share

    Thanks Guitarzan, I was clearly complicating things!! My new single line of code for logoff is: robocopy "%localappdata%\Sage\Sage Report Designer 2007" "\\server\profiles\%username%.V2\localappdata\Sage\Sage Report Designer 2007" /MIR /njh /njs /ndl /nc /ns /np /nfl and to logon: robocopy...
  2. jonmc99

    Dynamically create folder structure on UNC share

    Thanks guitarzan, that was exactly what I needed and works perfectly. However, I've come across another issue which I hope you can help me with. I've discovered that although the code below works well at backing up and restoring the data with overwrites, it doesn't work well when file names...
  3. jonmc99

    Dynamically create folder structure on UNC share

    If anyone is interested, below is the complete code I'm using... Option Explicit On Error Resume Next ' Logoff Script to Copy Files from local hard drive to Network '========================================================================== ' Read LDAP(Active Directory) information to...
  4. jonmc99

    Dynamically create folder structure on UNC share

    Hi Everyone, I am using some code kindly provided by snotmore... Call subCreateFolders("C:\test1\test2\test3\") Sub subCreateFolders(strPath) Dim objFileSys Dim strPath, strNewFolder Set objFileSys = CreateObject("Scripting.FileSystemObject") If Right(strPath, 1) <> "\"...

Part and Inventory Search

Back
Top