Click here to Skip to main content
15,885,546 members
Articles / Batch
Tip/Trick

Creating Your Own Command Prompt Like Visual Studio Command Prompt

Rate me:
Please Sign up or sign in to vote.
2.46/5 (3 votes)
23 Aug 2011CPOL 21.4K   1   4
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


:)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 1 Pin
Michael Chourdakis20-Apr-12 10:00
mvaMichael Chourdakis20-Apr-12 10:00 
GeneralRe: My vote of 1 Pin
Brisingr Aerowing8-Oct-12 3:41
professionalBrisingr Aerowing8-Oct-12 3:41 
GeneralReason for my vote of 4 Interesting, Thanks !! Pin
Sunny_Kumar_31-Oct-11 21:13
Sunny_Kumar_31-Oct-11 21:13 
GeneralHmmm. Interesting. Pin
Dr.Walt Fair, PE23-Aug-11 5:59
professionalDr.Walt Fair, PE23-Aug-11 5:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.