65.9K
CodeProject is changing. Read more.
Home

Creating Your Own Command Prompt Like Visual Studio Command Prompt

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.46/5 (3 votes)

Aug 23, 2011

CPOL
viewsIcon

22312

Creating Your Own Command Prompt Like Visual Studio Command Prompt

Do you want to create your own command prompt like VS Command Prompt ? Then this tip is for you :) First create a file at your programs directory. File's name will be Start.bat Open it with your text editor and copy this code ::
@ECHO OFF
set PATH = YoutProgramsPath\Bin;%PATH%

echo Welcome to Your Programs Name Command Prompt 
Then create a shortcut to ::
%comspec% /k "Start.bat"
It opens the cmd and writes
Welcome to Your Programs Name Command Prompt 
and you can use all programs in
YoutProgramsPath\Bin
:)