Easy access to folder paths in the command prompt (CMD) for Windows and Windows Server

by Robbin Vernooij

A few short cuts to avoid having to start in C:\Users\User_Name when using the command prompt in Windows and Windows Server.

There are instances where one wants to use the command prompt to carry out particular tasks, for instance the tabadmin and tabcmd for Tableau Server. These files are located in the bin folder embedded in the tableau server folder, typical pathing: D or C:\Program Files\Tableau\Tableau Server\10.5\bin.

Having to navigate to the bin folder, can be a pain so I have captured two ways to speed this process up. One for tabadmin, usually run from the server side (window server 20XX) and the other for Windows 10 (circumventing the default use of Windows powershell).

Many thanks to Andy Pick and Jonathan MacDonald for saving us precious time!

 

1. Windows Server

  1. Go to the destination folder, such as C:\Program Files\Tableau\Tableau Server\10.5\bin.
  2. Click on File – Open command prompt – Open command prompt as administrator.
  3. Command prompt opens with the path set to your current folder.

 

 

2. Windows 10

The default set for Windows 10 is Windows Powershell so we cannot use the same strategy as above. Alternatively follow the instructions below to open the command prompt (even faster than on Windows Server).

  1. Go to the destination folder and click on the path (highlights in blue).
  2. type cmd.
  3. Command prompt opens with the path set to your current folder.

 

‘Time saved is time well spend’