« Snippet Compiler | Main | Metabuilders free ASP.NET controls »
Windows Command Line Tips

Here are some handy tips for the Windows command line:

  • 'Findstr' is 'grep' for Windows. I don't know when they slipped this in, but I missed it for a long time.
  • Use 'setlocal' and 'endlocal' in batch scripts to limit the scope of changes to environment variables such as PATH.
  • 'Pushd' works just like 'cd' but saves your current path on a stack. Calling 'popd' will change your current directory to the path on top of the stack. These are godsends for navigating deep path hierarchies.

Let me know if you have any other tips and I'll add them to the list.

Posted by JoshC at October 15, 2003 11:38 PM
Trackbacks
TrackBack URL for this entry:
http://www.joshchristie.com/weblog/mt/mt-tb.cgi/38

Listed below are links to weblogs that reference 'Windows Command Line Tips' from Josh Christie's Weblog.
Comments
Post a comment









Remember personal info?