stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Command-Line Switches For Windows Software Update Packages







Command-Line Switches For Windows
Software Update Packages

Command-Line Switches For Windows
Software Update Packages
02/17/2004 10:32 AM




This is a GrokNews Entry: (what is grok?)





Similar Items

Command-Line Switches For Windows Software Update Packages

Grok Headline matches for Command-Line Switches For Windows Software Update Packages

ISU Command-Line Switches


ISU Command-Line Switches 01/01/2005 10:21 AM

Update: Wanted Unix Command Line Binary
to Convert Windows Icon Files to PNG


Update: Wanted Unix Command Line Binary
to Convert Windows Icon Files to PNG
03/13/2003 11:29 AM

Update: Wanted Unix Command Line Binary to Convert Windows Icon Files to PNG

The title really says it all.  Either this means something to you or it doesn't.  It must handle 24 bit icon files.  Example File.  Any thoughts?

Note: if this means nothing to you then no worry.

More in a bit.


Microsoft Office Command Line Switches


Microsoft Office Command Line Switches 06/17/2004 06:16 PM

SmsMan And SmsMan16 Command Line
Switches


SmsMan And SmsMan16 Command Line
Switches
07/25/2004 05:43 PM

chi.pm: Field Guide to Perl Command Line
Switches


chi.pm: Field Guide to Perl Command Line
Switches
10/29/2003 12:09 AM
inkdroid writes "chicago.pm has secured space through the gracious generosity of WDI in Vernon Hills. This means we have a nice, quiet, non-smoking space with a projector and room for a couple dozen mongers. Our first Tech Meeting will be November 4th, ...

The Windows Installer Software
Development Kit Command Line Merge and
Install Tools - Part two Msitran.exe


The Windows Installer Software
Development Kit Command Line Merge and
Install Tools - Part two Msitran.exe
09/12/2004 10:55 AM

A quick way to get command line switches
with Deployment Server for Clients 5.6
Components


A quick way to get command line switches
with Deployment Server for Clients 5.6
Components
06/24/2005 09:43 PM

Windows XP Command-Line Reference: Chcp


Windows XP Command-Line Reference: Chcp 09/23/2004 05:52 PM

Rip MP3 and windows media streams from
the command line


Rip MP3 and windows media streams from
the command line
12/05/2003 11:20 AM
I was kinda bummed that I had to use Windows to save audio/video streams to disk with StreamBox VCR. I wanted an app to use on my Mac to do this. People suggested stuff like WireTap which simply hijacks the system's sound bef...

New Command Line Tools in Windows Server
2003


New Command Line Tools in Windows Server
2003
06/07/2004 10:45 AM

XP: kill a Windows process from the
command line with taskkill


XP: kill a Windows process from the
command line with taskkill
04/26/2004 09:42 PM
Tech-Recipes Apr 27 2004 1:31AM GMT

XP Pro: List active Windows programs
from command line with tasklist


XP Pro: List active Windows programs
from command line with tasklist
05/02/2004 03:07 AM
Tech-Recipes May 2 2004 6:24AM GMT

New Command Line Tools in Windows Server
2003 - Today's Tool: CMDKEY.EXE


New Command Line Tools in Windows Server
2003 - Today's Tool: CMDKEY.EXE
09/09/2004 01:33 AM

New Command Line Tools in Windows Server
2003 - Today's Tool: DEFRAG.EXE


New Command Line Tools in Windows Server
2003 - Today's Tool: DEFRAG.EXE
07/27/2004 07:50 PM

New Command Line Tools in Windows Server
2003 - Today's Tool: DSADD.EXE


New Command Line Tools in Windows Server
2003 - Today's Tool: DSADD.EXE
08/30/2004 01:35 PM

New Command Line Tools in Windows Server
2003 – Today's Tool: EVENTCOMBMT


New Command Line Tools in Windows Server
2003 – Today's Tool: EVENTCOMBMT
06/05/2004 10:30 AM

[SECURITY] [DSA 550-1] New wv packages
fix arbitrary command execution


[SECURITY] [DSA 550-1] New wv packages
fix arbitrary command execution
09/20/2004 07:05 PM
Martin Schulze (Sep 20 2004)

[SECURITY] [DSA 496-1] New eterm
packages fix indirect arbitrary command
execution


[SECURITY] [DSA 496-1] New eterm
packages fix indirect arbitrary command
execution
04/29/2004 02:59 PM
Martin Schulze (Apr 29 2004)

Command Line PHP


Command Line PHP 12/20/2002 10:51 AM
Command Line PHP Since I was doing this yesterday, I appreciated this pointer from Keith (who also helpfully has links to Lord of the Rings Reviews) [_Go_]

Windows Patch Management, Software
Update Services (Part 2)


Windows Patch Management, Software
Update Services (Part 2)
04/25/2004 12:41 PM

SMS Command Line Script


SMS Command Line Script 12/28/2004 11:27 PM

The Command Line Is Your Friend


The Command Line Is Your Friend 03/06/2004 01:56 AM

If you're in the tech field, it might behoove you to know your command line utilities, and to have a copy of Cygwin handy if you run Windows. There are reasons why those old-school UNIX guys look down their long beards at the rest of us with disdain for not knowing the system shell. I ran across a great use of command line tools today that I thought I'd share.

Continue reading "The Command Line Is Your Friend"

Click here to comment on this entry


Command Line Timeclock 0.2


Command Line Timeclock 0.2 06/07/2004 09:17 AM
A command line timesheet application.

ISU Command Line Syntax


ISU Command Line Syntax 07/26/2004 03:52 AM

PHP Command Line Module


PHP Command Line Module 06/04/2004 10:43 AM

PEAR Console Classes: Here's a tutorial on a fascinating little PEAR module that facilitates using PHP from the command line. It has methods for rendering tables, displaying progress bars, and doing color formatting on ANSI compliant terminals, this giving you some flexibility when developing PHP command line apps. Fascinating what these guys come up with.

Click here to comment on this entry


Command Line Progress Bar 1.04


Command Line Progress Bar 1.04 10/31/2003 05:11 PM
A simple command line tool to display information about a data transfer stream.

Building MSI command line


Building MSI command line 01/19/2004 12:34 AM

Command Line Accountant


Command Line Accountant 12/09/2003 12:22 AM
Version 0.1 has been released

Pizza From the Command Line


Pizza From the Command Line 05/07/2004 07:14 PM

10.3: Fax from command line (or
AppleScript)


10.3: Fax from command line (or
AppleScript)
12/05/2003 11:21 AM
I was working on this to be able to fax from Filemaker with FM scripting and AppleScripting. I needed to print to a file (a .ps file), then send the resulting file to the fax. Fax is actually a CUPS print queue, and I just ne...

PHP on the Command Line - Part 1


PHP on the Command Line - Part 1 06/16/2004 07:29 PM
Routine administration of your PHP Website is easily achieved via PHP's CLI, or command line interface. In the first instalment of his two-part series, Harry looks at the fundamentals of working with the PHP command line.

Command line blacklisting


Command line blacklisting 09/09/2004 01:15 AM

Just over a year ago, I started blacklisting domain names from links featured in comment spam. My idea then was that these blacklists could become a shared resource: people would publish their own blacklist and subscribe to those of people they trust, thus making it much harder for spammers to operate. While the sheer volume of spam domains meant that the technique was much less useful than I originally anticipated, I've continued to maintain my blacklist ever since as a preventative measure against repeat spammers.

I have a confession to make: all of my blog administration (with the exception of adding entries and blogmarks) is performed using phpMyAdmin. The trouble with writing your own software is that it's very easy to skimp on the backend tools, since you're the only person who will ever see them. Incidentally, this is the main reason I plan to switch to WordPress just as soon as I find the inspiration to write the necessary import scripts. Comments are deleted in phpMyAdmin, and domains are blacklisted by manually editing the blacklist.txt file via FTP.

This has been really bugging me, especially since I have so little other use for FTP that my only installed client is an unregistered version of Transmit (closes after ten minutes, won't save passwords along with account details). I've been muddling along with that for longer than I care to admit, but today I decided to take 10 minutes out to solve the problem once and for all. I could have put together a web interface for adding new domains but I wasn't really in the mood, so I decided to put time spent reading The Art of Unix Programming to good use and knock out a simple command line application.

The result (minus my login details) can be found here. Sample usage: ./blacklist.py www.domain.org www.domain2.com. It follows the Unix ideal of being the simplest-thing-that-could-possibly-work, and ended up taking longer to write than I expected thanks mainly to the craziness of Python's ftplib . I've seen complaints about this before, and it thoroughly deserves its bad reputation.

Here's one example: retrlines is the method used to retrieve ascii text from the server. Bizzarely, it doesn't actually return the text receieved; instead, it expects you to provide it with a callback function that will be fed each line in turn, minus the newline. Sounds like a job for Stri ngIO, but StringIO objects don'y have a writeline method (required to add the newline back on). I ended up writing my own extension of the StringIO2 class and adding a writeline method just to preserve the newlines returned from the server!

Strange APIs aside, I'm pretty pleased with the final result. It follows a bunch of Unix design patterns (and skips others such as those related to configuration, but I'm not overly bothered about those) including the following:

  1. A usage note is displayed if no arguments are provided.
  2. Multiple domains can be blacklisted at once, by providing them as multiple command line arguments.
  3. Domains that are already in the blacklist are skipped, and a message is written to standard error.
  4. If the script suceeds, it doesn't say anything at all.

It also uses the common Python idiom of wrapping the principle logic in a function and then calling that from a block that runs only if the file is executed directly (the __name__ == '__main__' idiom) so that other Python code can import the module and reuse its functionality if required.

There's plenty of room for improvement: being able to pipe a list of domains in via standard input would be nice, and hard coding the (unencrypted) username and password is sloppy (as is expecting the blacklist.txt file to live in the FTP home directory). Even better, with SSH access the whole thing could be replaced with an infinitely more secure one-liner: echo www.domain-to-ban.org | ssh username@server "cat - >> blacklist.txt". I'm happy though: an irritating task has become much less irritating and I have some example code to fall back on next time I need to get mucky with ftplib.


SitePoint: PHP on the Command Line (Pt.
1)


SitePoint: PHP on the Command Line (Pt.
1)
06/16/2004 08:26 AM
A new article has been posted over on SitePoint.com from Harry Fuecks covering the first part of a series on PHP on the Command Line.

PHP on the Command Line - Part 2


PHP on the Command Line - Part 2 08/11/2004 07:01 PM
Take your knowledge of the command line interface a step further with Harry's PHP-centric series. Part 2 shows how you can hook up a command line PHP script with existing command line tools provided by your operating system.

SitePoint: PHP on the Command Line (Pt.
2)


SitePoint: PHP on the Command Line (Pt.
2)
08/11/2004 08:33 AM
New on SitePoint today, there's a new posting from Harry Fuecks in a continuation of his "PHP on the Command Line" series - Part 2.

Command-Line Accountant 0.2


Command-Line Accountant 0.2 02/17/2004 05:39 AM
A command-line personal finance utility.

Command-Line Accountant 0.11


Command-Line Accountant 0.11 12/21/2003 04:45 PM
A command-line personal finance utility.

Command Line Timeclock 0.2-r2


Command Line Timeclock 0.2-r2 06/13/2004 09:25 PM
A command line timesheet application.

A command line ogg to mp3 converter


A command line ogg to mp3 converter 08/09/2004 11:34 AM
Using the same paradigm as ChrisR's flac to mp3 command line script, I've done the same to convert ogg files to mp3s using command line tools. You'll need to download and compile the vorbis player/encoder tools for everyone ...
Grok Description matches for Command-Line Switches For Windows Software Update Packages
GrokA matches for Command-Line Switches For Windows Software Update Packages

Command-Line Switches For Windows Software Update Packages

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Motorola May
Compromise on UWB

Advanced Excel Find
v2.0

Drivers in a jam as
truck leaves syrup
slick (Reuters)

iPod mini hits Apple
Stores this Friday,
100K on order

Yahoo and the New
Index

Apple-Pepsi Deal A
Winner -- Analysts

The smell of burning
US spammer fined
£75k for porn sting

Moon-sized diamond
found in space

100 rural areas in
Europe to get
subsidised broadband

Windows source code
exploit released

Stob: Softwron
number stolen

AMD halves Opteron
848 prices

xFloWS
Real Estate & REITs
Poverty 'is world's
worst threat'

Sainsbury's drops
future chairman

Motorists hit by
strike action

'Most doctors would
aid suicide'

Israel approves
settlement cash

Parmalat head's
family arrested

Serial rape suspect
sobs in court

Speed Download 2.3.1
offers tweaks, fixes

Nicecast 1.5
released with new
features

New Bush records,
same old questions

IBIZA Trojan Infects
via Internet
Explorer

A snapshot of
Programmers comments
inside Windows 2000
Source code

Windows source code
used to build
exploit

BrickFest PDX 2004
How not to re-enact
your favourite movie

GameScroll 0.4
easyGG 0.3
Paypal Shopping Cart
2.6

Cycling 0.2.3
Cycling 0.3.3
(Unstable)

K3b 0.11.4
The XSLT C library
for GNOME 1.1.3

fwall 1.4-6rc2
(Unstable)

mysqlBind 1.8
lsb-fhs 2.3beta
Cingular Clinches
AT&T Wireless
(Reuters)

Pakistan Arrests
Pearl Murder
Suspect, Colleague
(Reuters)

Industrial
Production Jumps 0.8
Percent (AP)

Indra Tests Voodoo
3G

DoCoMo Comments on
AT&T

Cingular Wireless,
the nations No. 2
mobile phone
provider, has agreed
to acquire
third-largest AT&T
Wireless

NTT Docomo review
its AT&T Wireless
options

iPod mini hits Apple
Stores this Friday,
100K on order
(MacCentral)

U.S. Stocks Rise on
Hopes for
Deal-Making
(Reuters)

New 3-D effect could
be a bright spot for
Sun
(SiliconValley.com)

what is grok?