Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

MS Scripting

Posted on 2007-04-06
8
271 Views
Last Modified: 2010-04-16
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.
0
Comment
Question by:JeffBeall
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 14

Accepted Solution

by:
JohnK813 earned 100 total points
ID: 18867365
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
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 200 total points
ID: 18867380
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
 
LVL 1

Author Comment

by:JeffBeall
ID: 18867607
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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 200 total points
ID: 18867641
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
 
LVL 11

Assisted Solution

by:cup
cup earned 100 total points
ID: 18870292
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
 
LVL 65

Assisted Solution

by:RobSampson
RobSampson earned 100 total points
ID: 18887110
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
 
LVL 1

Author Comment

by:JeffBeall
ID: 18932215
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
 
LVL 65

Expert Comment

by:RobSampson
ID: 18935423
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question