Re: Preferred language for shell scripting?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Sometimes we use the GUI, distasteful as that may be. If scripting is needed, VBScript can be used, as you indicated. There are of course as you already know, UNIX-style shells, and proprietary alternatives, Ruby interpreters, various utility programs, and I have been known to whack together C# programs that use the Directory, DirectoryInfo, File and FileInfo classes to automate common operations.

Frankly I don't have that much call for it, so don't really live in the scripting world that much and haven't developed a strong preference for anything in particular. Visual Studio takes care of 99% of the file management required for a project and that's where I do most of my development.

--Bob

Javaman59 wrote:
Hi all,

I'm a Unix guy from way back, who's enjoying learning C# and Windows programming. Overall, it's not such a difficult transition (as long as one keeps an open mind :) ), but there is one thing from Unix I miss the most - the command line.

I've install a Unix like programming environment, call MSys, which let's me do command line programming the way I want to, with the bash shell, and this is running smoothly (vim editor, bash, C# compiler, SDK documentation - all working).

I'm wondering though, what do experienced Windows programmers use for shell commands, and scripts. Surely not DOS - I mean, that sucks. I've heard of VB-Script and Javascript being used as shell scripts, but I wouldn't know where to begin with that, and wouldn't know if it is worth trying.

Surely don't open Windows Explorer every time you want to move or rename a file? LOL!

So, what do you guys use?

- Javaman (showing his roots)

.



Relevant Pages

  • C/C++ interpreter Ch 6.0 available
    ... 2D/3D plotting, numerical computing, shell programming and embedded ... Embeddable scripting ...
    (comp.compilers)
  • [ann] C/C++ interpreter Ch 6.0 released
    ... 2D/3D plotting, numerical computing, shell programming and embedded ... Embeddable scripting ...
    (comp.programming)
  • Re: Forth and Co - The Return of the Jedi
    ... application that is a Forth scripting layer. ... When you call the feature programming rather than just running ... If I use the 3D database words interactively at the command line ... idiot proof, harmless scripting. ...
    (comp.lang.forth)
  • Re: Shell wars [was: Re: rm - Arguments too long]
    ... >> Objections to csh in scripting make sense. ... is an interpretive language as well as a compiled one and a shell. ... programming that happens to have some consessions for interactive use. ...
    (comp.unix.admin)
  • Re: Shell wars [was: Re: rm - Arguments too long]
    ... >> Objections to csh in scripting make sense. ... is an interpretive language as well as a compiled one and a shell. ... programming that happens to have some consessions for interactive use. ...
    (comp.unix.solaris)