wtf?
-- Steve
Wednesday, February 7, 2007
Saturday, January 27, 2007
Use of *splat* in CMD
Inventive use of the splat character (*) can be used to save countless keystrokes in a CLI over time.
e.g. (commands given in red font)
c:\Documents and Settings\username\>cd \
c:\> cd "Program Files"
c:\Program Files>cd "Microsoft SQL Server 2005 Mobile Edition"
c:\Program Files\Microsoft SQL Server 2005 Mobile Edition>
Can be replaced by:
c:\Documents and Settings\username\>cd \
c:\> cd Pro*
c:\Program Files>cd Mic*on
c:\Program Files\Microsoft SQL Server 2005 Mobile Edition>
That saves 45 keystrokes...
If you are a command line admin like me... (and you should be anyway, right?)
You should appreciate the keystrokes saved by this techinique.
steve
e.g. (commands given in red font)
c:\Documents and Settings\username\>cd \
c:\> cd "Program Files"
c:\Program Files>cd "Microsoft SQL Server 2005 Mobile Edition"
c:\Program Files\Microsoft SQL Server 2005 Mobile Edition>
Can be replaced by:
c:\Documents and Settings\username\>cd \
c:\> cd Pro*
c:\Program Files>cd Mic*on
c:\Program Files\Microsoft SQL Server 2005 Mobile Edition>
That saves 45 keystrokes...
If you are a command line admin like me... (and you should be anyway, right?)
You should appreciate the keystrokes saved by this techinique.
steve
Welcome to the Blog!
This is the first post for The SuperGeek. I am starting this blog to pass along valuable information regarding Microsoft Windows NT Network and Host System Configuration / Troubleshooting.
As an IT Instructor and veteran administrator, I always find myself sharing tips with classes, colleagues, tech support personnel etc. But I never thought of collecting them in one place for browsing by others, but why not... Thus is born The SuperGeek Blog.
Enjoy!!
Steve Wooley, MCT
IT Consultant and Instructor
stevewolfie@gmail.com
As an IT Instructor and veteran administrator, I always find myself sharing tips with classes, colleagues, tech support personnel etc. But I never thought of collecting them in one place for browsing by others, but why not... Thus is born The SuperGeek Blog.
Enjoy!!
Steve Wooley, MCT
IT Consultant and Instructor
stevewolfie@gmail.com
Subscribe to:
Posts (Atom)