Jump to content

Recommended Posts

Posted

Hello all,

 

Does anyone know of a free application which can do this? Unless it's easy, I don't really wish to script this as there are hundreds and hundreds of different folders to copy to.

 

I've found one application called FileBoss, but there is a small price tag with this. Many thanks!

Posted
If the folder is in a users home area you could use GPO in 2008R2 to create folder in users home area (preferences I think). Have done this successfully a few times. This way all new users would get same folder.
Posted

You're right, but then I need to copy file(s) into that folder. I can't do that via GPO as far as I am aware.

 

I'm going to experiment another way of Desktop Folder Redirection, redirecting from a folder called 'Desktop' within a user's My Documents folder. The reason being that on wireless clients, desktop shortcuts are not being mapped consistently, yet everything else works. It's just really odd :)

Posted (edited)

:: set the directory of the root folder (if the pupil folders are grouped by year, set to Year08, for instance)

pushd \\Path\to\pupil\folders\yearXX

 

:: For each subdirectory in the current directory, copy all files

FOR /D %%i IN (*) DO (

xcopy X:\path\to\files\* %%i\destination\ /i /f /k

)

 

ECHO Task complete. Press any key to exit...

pause > nil

 

:: Return to the original directory

popd

 

Chuck that in a batch file, and edit the right bits. Remember to test it first...

 

EDIT: If you're going to be adding updated files on multiple occasions, chuck the /d flag in for xcopy so that it only copies files if they don't already exist, or the file to be copied is newer.

Edited by fafster

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...