tags:

views:

748

answers:

4

Is it possible to limit a folder size in Windows so that when a user tries to write to the folder when it is full he receives an error message?

+1  A: 

Do you mean disk quotas as described at, e.g. http://www.windowsnetworking.com/articles_tutorials/Configuring-Disk-Quotas-Windows-2003.html?

Rob
Dagnabit, Rob, every question I answer, I answer about 20-30 seconds after you with the same info. :( ;)
ZombieSheep
Can you define quotas per folder?
Assaf Lavie
I don't believe disk quotas will work. The followring text is from the link in your answer "Disk quotas are configured on a per volume basis and cannot be set on a file or folder level."
Alceu Costa
+1  A: 

Have a look at Quotas for NTFS file systems..

ZombieSheep
A: 

It depends on how limiting you want to be. :)

For example, it's not difficult to write a program that listens/monitors a folder and displays a message box error/warning in case the user exceeds his quota. But that doesn't prevent him from exceeding it - just notifies him he did so.

Assaf Lavie
+1  A: 

Keep in mind that Disk Quotas are per user not per folder, there are other solutions that will allow you to lock down a folder size regardless of user, my experience has been with Veritas Storage Exec, but it seems to be discontinued.

benPearce