What programming language is this?

April 10, 2009 at 02:10:21
Specs: Windows Vista, 8g
Hi all, I am intersested in learning the following programming language as i have seen it in action and read briefly about it, although i have hit a wall as i do not know what the language is called. My best guess is VBScript as it is saved as *.vbs. When i search it all i find is VBS in HTML format which is not what i am looking for, I am looking for a language that does what the following script does and that is wook with functions with in windows regardless of the HTML.

Thanks in advance.
Set objWMIService = GetObject("winmgmts:")
Set objLogicalDisk = objWMIService.Get("Win32_LogicalDisk.DeviceID='c:'")
Wscript.Echo objLogicalDisk.FreeSpace
if you save his as something.vbs and run it it gives you the about of free space you have left on c: in bytes.

See More: What programming language is this?

Report •

April 11, 2009 at 00:59:12
Hi abignold,

It seems like Visual Basic


Report •

April 11, 2009 at 06:09:18
It is actually something you would use in VB Script. Although the same code would work in VB there are better ways of achieving the same thing than using scripting objects.


Report •

Related Solutions

Ask Question