All Forums >> [Scripting] >> Post a VBScript >> Code Snippets, Functions and Sub Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Posts: 1823
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
I was just thinking about how many of us have basic code snippets that we have in many of our scripts that perform 1 function and that it might be worth while to have a central repository. So, I will start.
Get OS and SP version
The next sub is one I use whenever I am doing an install that would pop up a security message 'Prevents "Open File - Security Warning" dialog box from displaying on Windows XP SP2 and above
Disable/Enable IEZone Checks
Compare File Versions
Delete file
Delete Folder
I have an IE detect script that I am currently working as microsoft changed how the versioning is updated on IE7 when IE is patched.
That is all for today, will probably post more later.
_____________________________
Mike
For useful Scripting links see the Read Me First stickey!