Categories

Category Specific RSS

Right click on folder command prompt

When you right click on a folder

Right click on folder command prompt

you will get an option which will open a command prompt at that folder location rather than the windows default

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

Useful disk information

Displays some useful information regarding the C drive using VBScript and WMI

Useful disk information

Set objWMIService = GetObject("winmgmts:") Set objLogicalDisk = objWMIService.Get("Win32_LogicalDisk.DeviceID=’c:’") Wscript.Echo "Total Size " & objLogicalDisk.sIZE & " bytes" & vbCrLF & _ "Free space is " & objLogicalDisk.FreeSpace & " bytes" & vbCrLF & _ "FileSystem is " & objLogicalDisk.FileSystem

[…]

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

Disk drive information

Get disk info using VBScript and the FSO

Disk drive information

Set objFso = CreateObject("Scripting.FileSystemObject")

Set drive = objFso.GetDrive("C")

With drive

Wscript.Echo "Available Space:"

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

Todays date

Displays the date in VBScript

Todays date

does not display with a Mozilla type browser

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare

The time

Displays the current time

The time

<html> <body> <script type="text/vbscript"> document.write("The time is " & time()) </script> </body> </html>

FacebookTwitterGoogle+PinterestTumblrStumbleUponRedditLinkedInBaiduApp.netBufferDeliciousDiggDiigoWordPressBlogger PostEmailPrintFriendlyShare