Re: Is vbscript appropriate tool?
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Sat, 29 Mar 2008 23:58:34 +0100
<mirandacascade@xxxxxxxxx> wrote in message
news:a6ad5b4e-c819-4285-8ffe-e4a9dd1b0e06@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 29, 9:44 am, "Pegasus \(MVP\)" <I....@xxxxxxxxxx> wrote:
You can use VB Scripts or batch files for all of the above tasks.
VB Scripts are more powerful but require far more coding for
everyday tasks than batch files, and therefore more design,
debugging and maintenance time. It is not unusual for a VB
script to require 30 lines of code to perform a task that can
be performed with a single line of batch code. However, batch
files leave a lot to be desired when it comes to advanced stuff.
The problems you refer to have nothing to do with the tools
you use. If you post your relevant code fragments then someone
will tell you what's wrong with them.- Hide quoted text -
1) Thank you for the reply...I appreciate the quick compare-and-
contrast of using vbscript versus batch files for tasks such as the
one I described.
2) The subtext of what I read seemed to be, "You should be able to do
what you described in vbscript...be aware that a batch file solution
may be simpler for this particular case." Given that, I think it
would be more helpful/instructive for me to work through the errors
I'm encountering on my own...I'll probably learn a lot more that way.
3) I am, however, still curious about reference material.
Specifically, is there good reference material that concentrates on
how to use vbscript for type of folder/file tasks described in the
original post? I see lots of reference material on vbscript, but much
of it seems to concentrate on how to use vbscript for web
programming...my interest is much more narrow than that.
Regards,
Miranda
================
You could download the "Hey Scripting Guy" archive - it contains
actual scripting examples for just about all the basic functions.
http://www.microsoft.com/downloads/details.aspx?FamilyID=5f5e0bda-923a-4744-8289-afb73f6a5ed8&displaylang=en
The VB Scripting help file script56.chm is another invaluable
resource for the basic stuff.
.
- References:
- Is vbscript appropriate tool?
- From: mirandacascade
- Re: Is vbscript appropriate tool?
- From: Pegasus \(MVP\)
- Re: Is vbscript appropriate tool?
- From: mirandacascade
- Is vbscript appropriate tool?
- Prev by Date: Re: Is vbscript appropriate tool?
- Next by Date: Re: Is vbscript appropriate tool?
- Previous by thread: Re: Is vbscript appropriate tool?
- Next by thread: Re: Is vbscript appropriate tool?
- Index(es):
Relevant Pages
|