Discussion Locked

Replace Batch files with?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am running a server with Windows NT 4.0.

I need to write some simple batch files to copy, clear, and rename files (basic file administration). I am familiar with DOS batch file creation and have found many limitations. What language can I use to replace this function - Perl, windows scripting??

6 replies

by bhunt

Well, you could go with one of the Windows Scripting Hosts tools, but I'd recommend Kix.
I believe Kix comes with the NT Resource Kit, or it can be freely downloaded off the internet. It is much nicer and more structured than dos batch files, although that is what we still use here, but not for much longer.

by glen_mcleod

It depends on your programming ability, if you're familiar with VB, java or Perl(and a couple of others, I can't remember which), you can use the Windows Scripting Host to do all of that with the FileSystemObjects package. I can't get into detail here, but you can find all the information and examples you need on MSDN.

Glen

by glen_mcleod

Clarification:

"VB, java or Perl(and a couple of others..."

All of these languages can be used with the WSH, VBScript and JSctipt natively, and with a minor add-in for the others. Check Microsoft's web site.

Glen

This discussion is closed to new replies.