veedar
asked on
Help with Script
Hi,
I'm told this will report free space on my C drive...
Set objWMIService = GetObject("winmgmts:")
Set objLogicalDisk = objWMIService.Get("Win32_L ogicalDisk .DeviceID= 'c:'")
Wscript.Echo objLogicalDisk.FreeSpace
...I need it spelled out to me how I can run this code from a DOS window?
Also I'm just getting into Windows scripting. is there any on-line resource you can suggest to help. Thanks!
I'm told this will report free space on my C drive...
Set objWMIService = GetObject("winmgmts:")
Set objLogicalDisk = objWMIService.Get("Win32_L
Wscript.Echo objLogicalDisk.FreeSpace
...I need it spelled out to me how I can run this code from a DOS window?
Also I'm just getting into Windows scripting. is there any on-line resource you can suggest to help. Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you're welcome, thanks for the grade and the 1776 points
thats a curious date in history > http://en.wikipedia.org/wiki/1776
many valuable texts where published that year, at least those which we should take our cue from these days ;-)
thats a curious date in history > http://en.wikipedia.org/wiki/1776
many valuable texts where published that year, at least those which we should take our cue from these days ;-)
ASKER