• I am using SQL 2012, wanting to use DirTree to capture folder/subfolders within a share on a server - I can path to the UNC via Windows explorer with no issue - as it uses the local admins auth to that share via that method, however when xp_dirtree runs the credentials it uses are anonymous. can i use SetCred someplace to have windows store the credentials and put the user name in my script?

    thanks!