Skip to main content
18-Opal
August 1, 2014
Question

Where to learn about Windows scripting?

I need to manipulate about 9000 files, rename, find the latest version of each, etc, before I import into Windchill, I need more knowledge on Windows scripting and commands first though, anybody have any recommendations on where to go to learn Windows script programming?

-marc



Trimark Values: Integrity Respect Accountability Innovative Teamwork

11 replies

1-Visitor
August 1, 2014
I use this place a lot:

Translate
12-Amethyst
August 1, 2014

Hi Marc.



Windows has a few options for scripting. You can use the PowerShell but that is likely to change and become incompatible with future releases of Windows. Then you have to learn a new language and adapt all your scripts.



I recommend you invest your time into learning a language that will resist time. Perl is available on Windows and is pretty good with manipulating strings and files. Another good option is to install Cygwin on your Windows box. At that point, you get access to all the power of Unix with bash scripting, awk, sed and all the great Unix tools. These tools will also resist time.



Unix rules!



Translate
mdebower18-OpalAuthor
18-Opal
August 1, 2014
UNIX?!? What is that? (:

-marc

Translate
19-Tanzanite
August 1, 2014
A faded memory of a true and trusted friend. One that was reliable. One that didn't make you blue. One that didn't spread viruses amongst friends. A worker that didn't complain. 🙂

Brian Toussaint
Systems Administrator

Hoshizaki America, Inc.
"A Superior Degree Of Reliability"
618 Hwy. 74 S., Peachtree City, GA 30269
Translate
1-Visitor
August 1, 2014
Yeah, I would imagine that there are people out there who don't remember
UNIX.






Translate
1-Visitor
August 1, 2014
#cat > /dev/null
awk, what he sed
^C
#

Translate
23-Emerald III
August 4, 2014
And some out there who are glad they can't remember it!
Translate
1-Visitor
August 4, 2014
What? I remember the fun of searching for core dump files…

Translate
13-Aquamarine
August 4, 2014
Back to answer the original question. I suggest this out of print book.

Windows NT Shell Scripting by Tim Hill.

Many available on Amazon.
Translate
13-Aquamarine
August 4, 2014
By the way, the web site listed in the book with the example script, it defunct. You can find the examples here as a zip file:
Translate