Batch Language vs VB Scripting...

S

SP Goodman

You remember Batch files, don't you? (If you don't you shouldn't bother to
read further)

In the pre-Windows world it was the near-staple of installation and file
maintenance on PCs. Since Windows 95 came along there's continued to be
support for batch language, but interfacing it with Windows is a bit of a
kluge, isn't it? As a person who made part of his old money writing batch
files for people and articles I've waited a long time for a guide for
scripting to come out that wasn't "just for C++ programmers", and have yet
to see one.

Any hints or pointers towards online or print material on this level would
be welcome.

Thanks in advance!

--
Stephen Goodman
*
* Cartoons about DVDs and Stuff
* http://www.earthlight.net/HiddenTrack
* The Loop Of The Week since 1996!
* http://www.earthlight.net/Studios
 
S

Shenan Stanley

SP said:
You remember Batch files, don't you? (If you don't you shouldn't
bother to read further)

In the pre-Windows world it was the near-staple of installation and
file maintenance on PCs. Since Windows 95 came along there's
continued to be support for batch language, but interfacing it with
Windows is a bit of a kluge, isn't it? As a person who made part
of his old money writing batch files for people and articles I've
waited a long time for a guide for scripting to come out that
wasn't "just for C++ programmers", and have yet to see one.

Any hints or pointers towards online or print material on this
level would be welcome.

Googled for VBScript in Windows Administration?
Googled for things you did in batch scripts in VBScripts/etc?

That's basically how I started converting all my older batch to vbscript..
Don't get me wrong - I still utilize batch heavily - little perl scripting
included as well - but vbscript/WSH/WMI/etc is all very nice and very
productive.

- http://cwashington.netreach.net/
- http://www.microsoft.com/technet/scriptcenter/default.mspx
- http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx
- http://www.rlmueller.net/products.htm

Above are a few good places to start looking.
 
G

Guest

You should try Windows PowerShell, formally Monad. VBsript and PowerShell
are still more complicated than good old batch files, but they both work with
XP. I managed to get a prob that i've been working on for 3 yrs solved w/ PS.

I also seem 2 b getting a lot of good responses about lots of computer probs
from these newsgroups. I wish I would have started posting here a long time
ago!
 
R

Ramesh, MS-MVP

I managed to get a prob that i've been working on for 3 yrs solved w/ PS

What's that problem, Ryan? Just curious. VBS/WMI can accomplish almost any
task. Heard about PowerShell, but haven't tried scripting using that.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


You should try Windows PowerShell, formally Monad. VBsript and PowerShell
are still more complicated than good old batch files, but they both work
with
XP. I managed to get a prob that i've been working on for 3 yrs solved w/
PS.

I also seem 2 b getting a lot of good responses about lots of computer probs
from these newsgroups. I wish I would have started posting here a long time
ago!
 
G

Guest

i wrote a script that copies a file from 1 dir 2 serveral others at the same
time so i don't have to use the mouse to copy paste and say yes to over write
the existing file.

Ramesh said:
What's that problem, Ryan? Just curious. VBS/WMI can accomplish almost any
task. Heard about PowerShell, but haven't tried scripting using that.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


You should try Windows PowerShell, formally Monad. VBsript and PowerShell
are still more complicated than good old batch files, but they both work
with
XP. I managed to get a prob that i've been working on for 3 yrs solved w/
PS.

I also seem 2 b getting a lot of good responses about lots of computer probs
from these newsgroups. I wish I would have started posting here a long time
ago!
 
S

SP Goodman

Shenan Stanley said:
Googled for VBScript in Windows Administration?
Googled for things you did in batch scripts in VBScripts/etc?

No, I thought I'd be more direct and go to this newsgroup instead of slowly
plowing through a massive search result.
That's basically how I started converting all my older batch to vbscript..
Don't get me wrong - I still utilize batch heavily - little perl scripting
included as well - but vbscript/WSH/WMI/etc is all very nice and very
productive.

- http://cwashington.netreach.net/
- http://www.microsoft.com/technet/scriptcenter/default.mspx
- http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx
- http://www.rlmueller.net/products.htm

Above are a few good places to start looking.

Thanks. Is there no kind of guide to scripting that doesn't require one to
be a systems programmer to grok it?
 
S

SP Goodman

But that's still an interpreter running on top of Windows, isn't it? I
recall another app some years ago that purported to run batch files from its
interpreter - and after running it a few times I got rid of it, as I wanted
something that wasn't just an add-on to the OS.

Thanks though.
 
C

Chuck

SP said:
You remember Batch files, don't you? (If you don't you shouldn't bother to
read further)

In the pre-Windows world it was the near-staple of installation and file
maintenance on PCs. Since Windows 95 came along there's continued to be
support for batch language, but interfacing it with Windows is a bit of a
kluge, isn't it? As a person who made part of his old money writing batch
files for people and articles I've waited a long time for a guide for
scripting to come out that wasn't "just for C++ programmers", and have yet
to see one.

Any hints or pointers towards online or print material on this level would
be welcome.

Thanks in advance!

Are you familiar with Unix shell scripting? If so grab a copy of cygwin.
It's a free linux-like environment that runs on Windows and includes
most if not all of the GNU tools. You can install that and start writing
bash, csh, or ksh scripts.

Chuck
 
S

Shenan Stanley

SP said:
Thanks. Is there no kind of guide to scripting that doesn't
require one to be a systems programmer to grok it?

If those are requiring you to be a programmer - then I am one and didn't
know it.
*grin*
 
S

SP Goodman

Chuck said:
Are you familiar with Unix shell scripting? If so grab a copy of cygwin.
It's a free linux-like environment that runs on Windows and includes
most if not all of the GNU tools. You can install that and start writing
bash, csh, or ksh scripts.

I used to use RCS on a Unix server to manage code, so if this kind of work
ever comes my way again I'll keep this in mind for a good way to make for a
compatible process. Thx.

--
Stephen Goodman
*
* Cartoons about DVDs and Stuff
* http://www.earthlight.net/HiddenTrack
* The Loop Of The Week since 1996!
* http://www.earthlight.net/Studios
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top