I have been working with ANT, Java, and Flex more and more. The result is that I have become ever more dependent on the command line. One of the engineers at Cynergy showed me a trick he learned while working on the Biztalk server team at Microsoft. Write this down, its a jewel!
In XP, Microsoft added Intellisense into the command line via the TAB key. When you are typing path names, you only need to type the first few characters, then hit the TAB key to walk through the available path names. When you press TAB, a valid path is magically typed for you.
Here is a little experiment:
1. run “cmd”
C:\Documents and Settings\Theodore Patrick>
2. type: “cd \prog” and press TAB
C:\cd “Program Files”
3. Press Enter
C:\Program Files>
4. type: “cd Macr” and press TAB
C:\cd “Program Files>cd Macromedia”
5. Press Enter
C:\cd “Program Files\Macromedia”
6. type: “cd Flex” and press TAB
C:\cd “Program Files\Macromedia>cd “Flex Builder 1.5″
7. Press TAB
C:\cd “Program Files\Macromedia>cd “Flex Builder 2.0 Alpha 1″
8. Press TAB
C:\cd “Program Files\Macromedia>cd “Flex Builder 2.0 Beta 1″
9. Press SHIFT + TAB
C:\cd “Program Files\Macromedia>cd “Flex Builder 2.0 Alpha 1″
This little trick has saved me a ton of time on the command line. Just get in the habit of pressing TAB periodically and walking the file system with the command line will go faster and faster.
c:\PSDKBlog>ant blog.post
Cheers,
Ted
