Your article "Rem: Adding the Currently Logged On User to the Administrators Group," May 2002, InstantDoc ID 24595, pertains to a problem I've been experiencing. I need a script that lets domain users add themselves to a local Administrators group...
The code uploads a file to a specified folder on the web server. The main problem is how to pick the file from the user's local disk, fine. Steps are:Add file input control on your page...
This small function deletes a folder and all its contents from specified location on the server. This code is very handy as in ASP.NET you can not directly delete a folder if it is not empty. Therefore this code first delets all the content files...
Whenever you use a script to change computer or user settings, the script should report on the change operation's success or failure. Three common tests that determine whether a command performed successfully are the ERRORLEVEL test, the string...
On Monday, Jelmer Kuperus posted a message to the Full Disclosure mailing list to report the existence of new vulnerabilities in Internet Explorer, as well as exploits that take advantage of those flaws...
It’s a quite easy to sort scalar types like String, Integer etc using Array.Sort. But we might require sorting capabilities on custom classes that we code...