General discussion

Locked

Replace Batch files with?

By EDIBOSS ·
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??

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Replace Batch files with?

by bhunt In reply to Replace Batch files with?

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.

Collapse -

Replace Batch files with?

by EDIBOSS In reply to Replace Batch files with?

Poster rated this answer

Collapse -

Replace Batch files with?

by Glen_McLeod In reply to Replace Batch files with?

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

Collapse -

Replace Batch files with?

by Glen_McLeod In reply to Replace Batch files with?

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

Collapse -

Replace Batch files with?

by EDIBOSS In reply to Replace Batch files with?

Poster rated this answer

Collapse -

Replace Batch files with?

by EDIBOSS In reply to Replace Batch files with?

This question was closed by the author

Back to Web Development Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums