Create your own command prompt(cmd)

Hello reader,
Does your school's computer not allow you to open Command Prompt(cmd)?
Here is the solution.
Basically, it needs some cmd commands .

ALGORITHM:
> Set title of your shell to "Command Prompt".
>Create a function called cmd.
>Set the directory to current directory of application.
>Trigger cmd
Step-1- Open Notepad.
Step-2-Type in the following Code.


CODE:

@echo off
cls
title Command Prompt
echo Welcome to CMD
echo.
:cmd
set /p "cmd=%cd%>"
%cmd%
echo.
goto cmd

Step-3-  Save the file as "cmd.bat".

Open the file created. And here you are with the command prompt of your own.
Don't forget to comment about the helpfulness of the post.
Thank you

Share this

Related Posts

Previous
Next Post »