kanga121
IS-IT--Management
- Apr 2, 2008
- 14
Hey all… needing a little help… I have just started creating a script to back up .PST files to a central location. I’m going to start simple and build it up to do all that I need. But I can’t even get past the copy location, if I use;
objFSO.CopyFile "C:\Documents and Settings\" & varUserName & "\Local Settings\Application Data\Microsoft\Outlook\*.pst"
It won’t copy the file, even if I use the user name explicitly. Still wont copy. However if I copy it from another location say “C:\PSTtest” works fine
Does anyone know why that would be?
objFSO.CopyFile "C:\Documents and Settings\" & varUserName & "\Local Settings\Application Data\Microsoft\Outlook\*.pst"
It won’t copy the file, even if I use the user name explicitly. Still wont copy. However if I copy it from another location say “C:\PSTtest” works fine
Does anyone know why that would be?