Using xcopy to copy files and folders and keeping the ntfs permissions
Xcopy is including will all modern Windows Operating Systems, it has some great switches for doing things such as verifying the copy and only coping file that are newer than the destination.
Run: xcopy /? for a full list of switches but here are some usful one if you are moving a large amount of data and want to keep NFTS permission.
An Initial Full Copy
xcopy "C:\Source Folder" "\\Destination Server\Share\Folder" /X /H /E /V
- Add new comment
- Read more
- 2572 reads
Function to return a folders size (vbs)
Here is a little vbs function that will return the size of a folder in bytes
- Add new comment
- Read more
- 421 reads
Printing all Images in a Folder
Here is just a little Visual Basic script I had to put together the other day. The whole thing or parts may be useful to people so I thought I would post it.
The script looks at each file in a specified folder and checks if it is a "Tiff image", if it is then an application is called to print the file and then the file is moved so another folder.
The script could easily be adapted for other file types or different tasks other than printing.
- Read more
- 338 reads
