I searched the forum but could not find anything.
Is it possible to copy a folder and all its sub directories and exclude a specific file like ntuser.dat? If so, how - Is there an example somewhere?
Thanks
Professional Software Development Tools
I searched the forum but could not find anything.
Is it possible to copy a folder and all its sub directories and exclude a specific file like ntuser.dat? If so, how - Is there an example somewhere?
Thanks
Yeah, try the search again "Copy Folder" - there were several hits out there that should get you started.
Thanks - Find this post http://www.indigorose.com/forums/showthread.php?t=27042
It does not show how to exclude a file such as ntuser.dat. Any help would be great!
If you check this post that was included in your search:
http://www.indigorose.com/forums/showthread.php?t=6797
You should be able to exclude your file quite easily...
e.g.: if variable_name ~= ntuser.dat then...etc.
You should be able to figure it out...if you can't, post your code and someone will assist...
Last edited by holtgrewe; 06-16-2009 at 06:56 AM.
A good alternative is RoboCopy.
It is a free Microsoft command-line utility for complex file copying, with many options.
Also, the file is only 78k.
Should work just fine within AMS.
You can get it by downloading the "Windows Server 2003 Resource Kit Tools".
I will give that a try - Thanks
or delete the file from destination after the copy procedure.
mario