Has anyone successfully added a menu item from the External Tools options? To cut a very long story short I am trying to run a command line prompt from within Management Studio and have been recommended that setting it up as a External Tool Menu Item may be the way forward. The process I have to achieve is to run a command line prompt, find a path and then add a command to run a process. In the command line it would be: ![alt text] This is what I've entered in the External Tools information: ![alt text] But all that's happening is the command box is opening with the correct path but not actually firing the prompt. Any ideas greatfully received. : /upfiles/CMdLineImage_1.png : /upfiles/CmdLineImage2.png
that could be 'expected behaviour' its running the tool for you. If you press Enter does the command execute? Have you tried ticking the 'Close on exit' box or any other options there? EDIT I just tried it, dont use Close on Exit!!! EDIT 2 Have you tried using xp_cmdshell instead? What do you want to achieve?
Presuming the -k is the cmd.exe parameter to keep the command window open when the command completes... Arguments: `/K accurev promote` If -k is an accurev parameter Arguments: `/K accurev promote -k` You can use /C with cmd.exe if you want the window to close when the command completes. Without /C or /K cmd.exe doesn't know you are passing it a command to execute