Category: Command Line

Set a user's password to non-expiring via CMD
article #731, updated 1074 days ago

NET USE does not appear to be able to set a user’s password to non-expiring. However, we do have this:

WMIC USERACCOUNT WHERE "Name='username'" SET PasswordExpires=FALSE

Categories:   Command Line   Windows OS-Level Issues

==============

Google command line tools
article #593, updated 1430 days ago

Lots of interesting things here:

http://code.google.com/p/googlecl/

including, just for starters, command-line upload to Youtube.

Categories:   Command Line   Tools

==============

Excellent reference to CMD, Bash, PowerShell, Microsoft SQL, and several other command line environments
article #574, updated 1479 days ago

Try this:

http://ss64.com

Categories:   Command Line   

==============

Command-line DVD pre-preparation
article #285, updated 2291 days ago

The following converts a huge variety of video formats (replace .ABC with whatever you have, AVI, FLV, etc.) to DVD-compatible MPEG:

ffmpeg -i videofile.ABC -target dvd -aspect 16:9 -sameq videofile.mpg

FFMPEG is standard in probably all non-minimalist Linux distros, and can also be had for Windows now.

Categories:   Audio-Video   Command Line

==============

File and folder permissions from the command line
article #219, updated 2491 days ago

For Server 2003 SP2 and up, we have something new, ICACLS . ┬áHere’s some docs:

http://ss64.com/nt/icacls.html

Categories:   Command Line   Windows OS-Level Issues

==============

Convert PDF to TIFF with free software (Ghostscript)
article #216, updated 2497 days ago

Here is a valid command line:

gswin32c -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=output.tif input.pdf -c quit

A good place to get Ghostscript for Windows is here:

http://sourceforge.net/projects/ghostscript/

Categories:   Application Issues   Command Line

==============

Command-line creation of Windows shares
article #74, updated 3139 days ago

Here is some info on creation of Windows shares by command-line. It involves a free download from Microsoft called RMTSHARE.


http://windowsitpro.com/articles/index.cfm?articleid=74678

Categories:   Command Line   

==============

Best command-line reference for many systems
article #73, updated 3139 days ago

Probably the very best command-line reference, for Windows, Bash, Oracle, and SQL Server:

http://www.ss64.com/index.html

Categories:   Command Line   

==============

Change page files from the command line
article #69, updated 3194 days ago

This article:

http://technet.microsoft.com/en-us/library/bb490962.aspx

describes a little tool shipped with XP, 2003, and on up. But it doesn’t say how to execute it. Every time, in the above article, you see “pagefileconfig.vbs”, it should read:

%systemroot%\system32\pagefileconfig.vbs

With that one caveat, the tool can be very handy.

Categories:   Command Line