VBS Script to delete all file over a certain age in a folder and its sub folders
The below script will delete all file in a folder over a certain ago and repeat the task for the folders sub folders
Change the varibles startFolder and OlderThanDate as needed.
- Add new comment
- Read more
- 297 reads
VBS: Copy files and display a progress bar
The below script with copy files and display a standard windows progress bar.
File attached: You must be a member to download
- Add new comment
- Read more
- 999 reads
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
