Odd, this is the first version I've actually tested as working! lol.
Originally Posted by Miscbrah
I'm a little stumped... you could add in a line just before the line causing an error that pops up a message box containing the intended destination and see if it brings anything to light...
One thing that comes to mind is that the script will only create the first folder from the intial sDestination, so if say sDestination was at X:\folder1\sDest and folder 1 didn't exist or X: wasn't a valid drive letter, then the code would fall over...
I'll have a look, see what I can understand.
You're a wonderful man L.O. thanks loads! :)
@Mischbrah - any chance you can post back with a step by step of what you want the script to do
Did you want it to retain the same structure etc etc
Just wondering if you could possibly use xcopy or similar command line command by using %comspec% with the relevant switches etc in the script ?
Maybe easier then trying to enumerate / recurse through all directories / files etc etc
Hi! Yes the script would ideally create a folder, named to include the current date and time (to the second) in a user's home area, and move into that everything from the user's documents, downloads and pictures and videos folder from their profile. Users could run it before submitting a case for the red X of death in the taskbar.
I would use folder redirection, but it plain isn't working here. Downloads I've redirected through GP with Chrome's policies.