Link to home
Start Free TrialLog in
Avatar of mcannet
mcannet

asked on

Moving folders with VBScript

I know this is probably real common and easy... however my search over this site and the internet suggests otherwise.  I work in a K-12 environment and we are an 2003 AD environment as well.  Basically I am writing a VBSCript for end of year/start of new year procedures.  The script will move students into their next OU and if they are moving to another building it will move their folder to the new server and adjust their user account properties accordingly.
HOWEVER!  I cannot move the folders!  I literally have spent 2 days trying to figure this out.  I tried using every sample script out there but nothing works!  I just simply need to move folders from a UNC target to a UNC source... can anyone help??  The move folder routines only work on local drives, not network or UNC paths.  

Thanks in advance.  
Avatar of Murat Raymond
Murat Raymond
Flag of United States of America image

why don't you make make your script call a simple batch file?
Vico1
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hmmm, that should have been

"Regards,

Rob."
Avatar of mcannet
mcannet

ASKER

Rob.. you da man!!  Thank you very much, worked like a champ.
No problem, thanks for the grade.

Rob.