Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Automating jobs on the go

Name: Anonymous 2012-11-22 21:50

I want to learn how to write small, customized programs (scripts I guess?) that can be popped out in a minute or two to automate cumbersome or annoying tasks as they come up. Things like searching and renaming large batches of files, keeping tabs on a web page and logging changes, pulling out text of specified format or content from a database or highly-formatted source, etc. It's most important that these things can be made and run on any given Windows machine (think fresh install), with OS X and in-browser support being lower priorities. Mobile OSes aren't important.

Given that aim and those criteria, in which language should I learn how to do this and why?

Name: Anonymous 2012-11-22 21:54

just get out.

Name: Anonymous 2012-11-22 21:55

OS X
lel

Name: Anonymous 2012-11-22 23:57

bash
cron

Name: Anonymous 2012-11-23 1:54

Windows

Install Cygwin, use standard UNIX shell tools and maybe PERL.

Oh Essex

Use standard UNIX shell tools and maybe PERL.

Name: Anonymous 2012-11-23 2:49

We do not serve windows users here.

Name: Anonymous 2012-11-23 3:47

So does Windows simply not natively recognize any languages, thus the need to install Cygwin despite my having said "any given machine" and "fresh install?" Or is all of this empty posturing from most replies meant to conceal that you guys just don't know much of anything about the OS?

Name: Anonymous 2012-11-23 4:03

You could try PowerShell but it's a piece of shit.
There's also Microsoft's POSIX utils thing that I can't remember the exact location or name for, and it might give you a few UNIX-like tools that you could use instead of having to install Cygwin.

Name: Anonymous 2012-11-23 4:11

>>7

So am I simply not natively able to do gymnastics, thus the need to jump and run despite my having said "I have a broken leg" and "I am reliant on crutches?" Or is all of this empty posturing from most replies meant to conceal that you guys just don't know much of anything about my leg injuries?

Name: Anonymous 2012-11-23 4:27

>>7

You could use VBscript I guess.

>>8

SFU/SUA/Interix.  It's basically the same idea as Cygwin, except it's a first-class NT Subsystem just like Win32 rather than a wrapper library on top of it.

Unfortunately with Windows 7 they started including it as a value-add for the more expensive versions of Windows, and I don't think they have a download to run it on Windows 7 Home Edition like they did for XP and Vista.

Name: Anonymous 2012-11-23 17:01

Unfortunately with Windows 7 they started including it as a value-add for the more expensive versions of Windows, and I don't think they have a download to run it on Windows 7 Home Edition like they did for XP and Vista.
It's deprecated in the Windows 8 developer preview, and apparently gone in Windows 8.

A much better option would be Portable VirtualBox (http://www.vbox.me/) with a PC-BSD VM.

Name: Anonymous 2012-11-23 17:18

Portable VirtualBox
What? I thought something like that wasn't possible.

Oh, wait, no, I was thinking of MPlayer2 and portable video drivers.

Anyway, pretty cool.

Name: Anonymous 2012-11-23 17:21

Javascript with Windows Script Host

http://support.microsoft.com/kb/232211

Name: Anonymous 2012-11-23 17:57

>>12
VirtualBox only needs drivers installed on the host for bridged networking and USB support. Neither of these are necessary for most uses.
It should also be possible to set up portable versions  of VirtualBox for OS X and Linux that share the same settings files the Windows one, but I don't really care enough to do it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List