Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
on Friday, 8 June 2012
"Command Prompt Here" is a handy tool for Windows Explorer to open a command a prompt directly from a desired folder in filesystem. It avoids opening a new command prompt window and then traverse to your desired location.
The below are the steps to configure. Please note its not an installable, just configurable.

Hope this helps you in your day to day tasks.

In explorer, open Tools, Folder Options.

  • Select the File Types tab.
  • For Windows XP: Go to NONE / Folder.
  • Select the entry labeled Folder
  • For Windows 2000/XP: Press Advanced button.
  • Select New
  • In the action block type "Command Prompt" without the quotes.
  • In the app block type "cmd.exe" without the quotes.
  • Save and exit Folder Options.
on Thursday, 3 May 2012


When we make any changes to our databases we like to restart the application servers to refresh the datasources. Some of our development environments are run as Windows services and so it would be nice to restart them remotely from the build machines. Here's how with Ant:

I hope you can see in this snippet that the code runs 2 tasks - Stop and Start. You can break down the code if you just want a Start or Stop only script.