Hi Maarten!If you could modify the code it would make me very happy...
The "warning" were just an example.
What I have in mind is to use the "shutdown" or "logoff" funktion.
What I really have in mind is something like this:
------------------------------------------
1. a user logs on
2. the script checks if the user have more than... say 15Mb and if the user have that, then print a waring, saying:
"you have used X Mb of your total 25Mb".
3. if the user have less than 15Mb the logon works as normal.
4. if the user has more than 25Mb then there is a warning like this:
"You have used more than your 25Mb and the computer WILL shutdown. contact your administrator for help".
5. The computer reboots
-------------------------------------------
I don't know, but I think that this can be done by using a rewriten version of the "FindLargeFolders" funktion.
Or am I way of???
//Frippe