Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What are some good uses for VBScript? Is it still a widely used language today?

share|improve this question

closed as not a real question by Mark Trapp Nov 17 '11 at 23:26

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

7  
There are good uses for VBScript? –  Josh K Oct 4 '10 at 15:39
add comment

6 Answers 6

up vote 6 down vote accepted

Not to be flip, but I think there are no good uses of VBScript left, and it should be entirely replaced by Powershell, which can accomplish all the same tasks much more cleanly.

Sadly it is still in use in many places for simple automation (renaming files and the like) and as a scripting language in many applications.

You can read more about how to get started with Powershell here.

share|improve this answer
    
I still use it for scripting, but you are indeed correct that PowerShell is a much better replacement. –  Kennah Oct 21 '11 at 3:49
add comment

I don't know of others but I use VBScript to Automate Adobe Photoshop and it works like a charm. We have build a commercial application that will help users in correcting images/photos at a click of a button.

share|improve this answer
add comment

There's a couple of thousand useful vb scripts can be found at the the MS Script Center

You can see them by clicking the VB Script link on the repository page.

share|improve this answer
add comment

I guess on older versions of Windows that can't run Powershell admins might find it useful as a scripting language, since you know it will be installed by default. But Microsoft recommend converting VBScript to Powershell where possible, so hopefully that will be the final nail in it's coffin. But the pessimist in me still feels it rotting corpse might linger for some time yet.

share|improve this answer
add comment

VBScript is still very useful as an application scripting language, as it ships with Windows. ie, like VBA.

share|improve this answer
add comment

Legacy applications in Active Server Pages would be another use of them today. For example, someone may have built a web application years ago in this and it just never got transitioned into something else. I'm not saying this is a good use of VBScript, but it is done and is something to be managed in some places these days.

share|improve this answer
    
This definitely still goes on, and I assert that it's not necessarily a good use. Legacy is legacy though. –  C. Ross Oct 14 '10 at 16:28
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.