batch script to montor size folder

March 2, 2016 at 01:33:51
Specs: Windows 7
Hello
i trying to make a script to monitor the size folder every hour and cant :
any help will apreciated.

i need something like this:

script one:
1-chek the actual size of the folder and write the size to a txt file.(in a remote pc like: \\pc2\folder1 )

script two
2-read the file size from the txt and compare with the actual folder size , if size was changed - close the script.
if size not changed open url.

why 2 scripts ? because i want to use the windows schedule,.
thank you very much!


See More: batch script to montor size folder

Report •


#1
March 3, 2016 at 12:55:50
What, exactly, are you attempting to accomplish here?

How To Ask Questions The Smart Way


Report •

#2
March 4, 2016 at 03:19:33
Hello. Is a backup folder. I need to know when no change in folder.

Report •

#3
March 4, 2016 at 05:03:03
To what end? If you're backing up the folder, don't worry about it. Both ROBOCOPY and XCOPY have options to skip unchanged files. If the folder holds the backups, and you need to know if the backup process broke, I could probably whip something up in VBScript that monitors for file system changes over the course of an hour.

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question