Re: what language

Tech-Archive recommends: Fix windows errors by optimizing your registry



gerryR <gerryrNOSPAM@xxxxxxxxxxxxxxxx> wrote:
Not sure where to post this as I don't know what language it applies to
(yet)

Basically I work in IT and often have to manipulate folder structures or
large amounts of text files and am looking for the best way of automating
this procedure specifically through a programming language. I did Pascal,
and C++ in college (several years ago now) so I'm sure the basics of coding
will come back to me once I start.

Your scenarios sound like they could well benefit from using a
combination of scripts and perhaps some custom classes where "plain"
scripting falls short.

I would recommend you learn about PowerShell, the new "object pipeline
oriented" shell from Microsoft, and then any of the .NET languages for
any custom classes required. I personally like C#, but any of them will
do. See http://www.microsoft.com/powershell for more information. Using
a scripting language tends to make working with files and folders
slightly simpler than doing it all in a .NET language.

I would also recommend using Groovy, as that works well for both the
scripting and custom code side of things - but it's Java-based, and I
suspect that as you're posting in a .NET newsgroup you'd prefer
something .NET-based. If you do want to look at Groovy, see
http://groovy.codehaus.org

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.