ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

2
Date Submitted Mon. Jun. 25th, 2007 4:28 AM
Revision 1
Syntax Master sundaramkumar
Tags wscript
Comments 0 comments
To get the Environment info like Compsec, PAth, pathext windows folder and temporary folder location we can do like this
2
Date Submitted Mon. Jun. 25th, 2007 4:27 AM
Revision 1
Syntax Master sundaramkumar
Tags wscript
Comments 0 comments
You can get the Processor and OS info like this
2
Date Submitted Mon. Jun. 25th, 2007 4:25 AM
Revision 1
Syntax Master sundaramkumar
Tags wscript
Comments 0 comments
Reads a text file and print the contents line by line
3
Date Submitted Mon. Jun. 25th, 2007 4:21 AM
Revision 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
To get the name of the computer/host
3
Date Submitted Mon. Jun. 25th, 2007 4:19 AM
Revision 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
To create a shortcut to an url you can do as follows
3
Date Submitted Mon. Jun. 25th, 2007 4:17 AM
Revision 1
Syntax Master sundaramkumar
Tags VBSCRIPT | wscript
Comments 0 comments
If you want to create a shortcut programatically use the code below. Found somewhere on net
5
Date Submitted Tue. Dec. 5th, 2006 2:50 PM
Revision 1
Scripter Casper42
Tags VBSCRIPT | wscript
Comments 0 comments
This was an update someone else's snippet...
VBScript is a graceful language and Windows Scripting Host cleans up after itself, so this is a compact version for simple usage - reducing code bloat is what small scripts are for.

Just my $.02...
10
Date Submitted Tue. Nov. 28th, 2006 4:04 AM
Revision 1
Helper TimboTheGreat
Tags VBSCRIPT | wscript
Comments 0 comments
This script demonstrates the user of a procedure that forces the currently executing script to execute under the WScript scripting host. This forces the output from WScript.Echo statements to be displayed message box dialog. This functionality may be useful in situations where the default scripting host is set to cscript.exe and/or the programmer uses a common set of code to program for wscript.exe and cscript.exe.

Typical usage would see the ForceWScript procedure called at the beginning of a script.