MS Scripting

I am trying to learn microsoft scripting, and I'm trying to find a reference that lists the commands and a brief description of what the commands do.
LVL 1
JeffBeallAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnK813Commented:
For DOS batch files: http://www.computerhope.com/batch.htm

For Windows Scripting, Microsoft's MSDN is a good resource, if not a bit confusing at times:
http://msdn2.microsoft.com/en-us/library/ms950396.aspx
http://msdn2.microsoft.com/en-us/library/ec0wcxh3.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sirbountyCommented:
Well, presumably you're referring to vbs/wsh?

Here's some good info - could supply more if I knew what you were looking for...

http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_crve.mspx?mfr=true
http://msdn2.microsoft.com/en-us/library/at5ydy31.aspx
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/wsh_runfromwindowsbasedhost.mspx?mfr=true

http://www.activexperts.com/ is a good site for sample scripts, along with the "Hey Scripting Guy" site from Microsoft.
0
JeffBeallAuthor Commented:
Yes, I’m referring vbs/wsh. A good example of what I’m looking for is Wscript.Echo. Somewhere, there has to be something that has a list of what Wscript.Echo does. I referred to commands, maybe in scripting Wscript.Echo
Isn’t called a command, but it has a function like a command, it echoes what is in the quotes. Some more examples, OpenDSObject, set, dim. They all do something. I have been told that you just have to try stuff to find what they do, but you can’t just throw a bunch of words into a blank notepad file, and slap a .vbs extension on it and expect it to do something. Syntax is king, you have to know that it’s Wscript.Echo, and not WscriptEcho. So I’m looking for a reference that lists things like Wscript.Echo and what it does.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

sirbountyCommented:
I'm not sure that I've ever come across anything that completely lists everything that wsh can do...

It's really about practicing and just searching for what you want to do..

This link details the 'echo' method of an object...http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/8dac8dcb-d237-4921-b2ba-0c6a34b60265.asp

And as I mentioned before, I get a lot out of The Hey Scripting Guy articles (one example: http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct04/hey1001.mspx)

Other than that, there are plenty of vbscript tutorials online:
http://www.w3schools.com/vbscript/default.asp is a really good one.

Others:
http://www.intranetjournal.com/corner/wrox/progref/vbt/
http://library.thinkquest.org/17131/scripting/vbscript/tutorialstart.html
http://www-sbras.nsc.ru/docs/ms/vbsdoc/vbstutor.htm
0
cupCommented:
If you install 5.6, it comes with a .chm file which will tell you everything that wsf, wsc, vbs, js files can do.  It may not be written like a book which tells you the stuff in a specified order so you can build from a foundation but it is all there.

http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
0
RobSampsonCommented:
You could also try using VBSEdit 3.3 from http://www.vbsedit.com
It's got a great syntax engine that outputs your options similar to a HTML editing program.
For example, if you type wscript then a dot, you get the paramaters / methods that is accepts.
It's a good start, but by no means a definitive source.
0
JeffBeallAuthor Commented:
Sorry about the slow response. Sirbounty, you said that it’s about practice, but I don’t see how you can practice without having the syntax and so called commands.  It’s like practicing the piano on a piano without a keyboard. How can you know what the different keys do and sound like? Anyhow, from asking around, and seeing all the responses, apparently there just isn’t a resource for what I’m looking for. Thanks to everyone for trying.  
0
RobSampsonCommented:
Because there is so much that it CAN do, it's hard to just learn things.  It's more about thinking about what it IS that you want to accomplish, then researching, through examples, on how that it is done.  The Microsoft "Hey, Scripting Guy" articles are a good resource for example.

Regards,

Rob.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Batch

From novice to tech pro — start learning today.