9

I want to know what is the command I should execute in the command window of the visual studio 2013, to change directory to:

C/:Users/user/Documents/Visual Studio 2013/Projects/OutlookAddin/publish/<Most_Recent_Version>/OutlookAddin_TemporaryKey.pfx

What is the command I must execute?

sheldonzy
  • 5,505
  • 9
  • 48
  • 86
naufal_chiadmi
  • 301
  • 1
  • 4
  • 14

3 Answers3

23

Actually, cd cmd works, but in a bit diff like this: syntax:

cd /d c: or e: etc..

where /d stands for drive for instance:

cd /d C/:Users/user/Documents/Visual Studio 2013/Projects/OutlookAddin/publish//OutlookAddin_TemporaryKey.pfx

No need for the single or double quote in this case. Now to execute any type of files for instance simply add '.\' before the executed one.

syntax:

.\OutlookAddin_TemporaryKey.pfx or .\example.exe what so ever

sheldonzy
  • 5,505
  • 9
  • 48
  • 86
Jean Kobeis
  • 231
  • 2
  • 4
0

cd does work. However, keep in mind that if the path you're trying to get to has spaces, you need quotes around it (the path). E.g.:

cd "C:\Program Files\Microsoft Visual Studio 10.0" Also, note that the "Visual Studio command prompt" that is mentioned in Step 6 is not the "Visual Studio Command Window" - I think this is where the problem comes from. The command prompt is a separate executable that you can start by clicking Start, point to All Programs, point to Microsoft Visual Studio, point to Visual Studio Tools, and then click Visual Studio Command Prompt. Alternatively, just search "Visual Studio" in the search bar in the Start menu, and it should show up

Source: Using the Command Window in Visual Studio

DeJaVo
  • 3,091
  • 2
  • 17
  • 32
-1

First create a file on CMD (COMMAND PROMPT) 1.cd desktop 2.mkdir filename 3.cd filename 4. code . (It has to be a space between code and the dot to open up the file in visual studio code)

Note: If you just want to open visual studio, then go to CMD and just type in 'code' without the dot.