faqts : Computers : Software : Microsoft : .NET : Visual Studio

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 7 people (71%) answered Yes
Recently 5 of 7 people (71%) answered Yes

Entry

Visual Studio: MSDOS: Command line: Parameter: /Command: How to start Visual Studio with your macro?

Dec 20th, 2003 14:45
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 20 December 2003 - 11:30 pm -------------------

Visual Studio: MSDOS: Command line: Parameter: /Command: How to start 
Visual Studio with your macro?

---

Steps: Overview:

 1. -Open a run or an MSDOS box

 2. -type the command

      devenv.exe /command "Macros.MyMacros.<your macro name>"

       e.g.

      devenv.exe /command "Macros.MyMacros.Module1.yourmacroname"

       e.g.

      devenv.exe /command "Macros.MyMacros.RecordingModule.ProjectNew"

---
---

Note:

 possibly give the full path to the executable 'devenv.exe',

 e.g.

  "c:\program files\microsoft visual studio .net\common7
\ide\devenv.exe" /command "Macros.MyMacros.RecordingModule.ProjectNew"

 (the above all on one line)


---
---

Internet: see also:

---

Microsoft: .NET: Visual Studio: Parameter: Command line: Which command 
line parameters?
http://www.faqts.com/knowledge_base/view.phtml/aid/27420/fid/1600

---

Microsoft: .NET: Visual Studio: Macro: Create: How to create a new 
macro?
http://www.faqts.com/knowledge_base/view.phtml/aid/27518/fid/1600

---

Visual Studio: Macro: Name: Path: Get: How to get the name of your 
macro? [command line parameter]
http://www.faqts.com/knowledge_base/view.phtml/aid/27520/fid/1600

----------------------------------------------------------------------