A random collection of epiphanies, thoughts and problem solutions pertaining to .NET and BizTalk.

Sunday, October 24, 2004

Windows Command Line Tricks


  • Command Line Expansion:

    I am sure you like the command line expansion capability of csh, tcsh and bash in unix family of operating systems. You can have the same capability in Windows Command Line if you enable it. :-) You can use "tab" to expand the whole command line argument after you give a few starting characters. To enable this capability, set the following registry key value to 9.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\PathCompletionChar


  • Open File Explorer From cmd and Set Address to Current Working Directory:

    Developers constantly spend time in command line and sometime it is useful to start up the file explorer from the comand line environment. It will be very cool and save us a little bit time if the file explorer opened will point to the same working directory. You can do this easily with this command:
    C:\Program Files\Microsoft BizTalk Server 2004> explorer %cd%
    This command will open up a file explorer and take you to directory:
    C:\Program Files\Microsoft BizTalk Server 2004

No comments:

Followers