Hi,
I want to make my cmd easier to use and so I want to add some more commands.
Could you tell me how to make more commands available to me?
Regards,
Rileyh
How to add commands to cmd
Moderator: DosItHelp
-
- Posts: 82
- Joined: 24 Apr 2011 19:20
Re: How to add commands to cmd
You can create batch files that do specific things and then place them in the System32 folder.
For instance, you can create a command that deletes your internet cookies by making a batch file that contains something like this:Then, just save it in the System32 folder and name it whatever you want. No matter what directory you are in, you can type the name of the file and it will execute, just like a command.
For instance, you can create a command that deletes your internet cookies by making a batch file that contains something like this:
Code: Select all
@ECHO OFF
IF EXIST "%APPDATA%\Microsoft\Windows\Cookies" (PUSHD "%APPDATA%\Microsoft\Windows"
(DEL "Cookies\*.*" /A /F /Q /S > NUL 2> NUL
ECHO Cookies deleted!
POPD
EXIT /B
))
ECHO No cookies to delete!
EXIT /B
Re: How to add commands to cmd
'
My/our contribution, a function definitions list
viewtopic.php?f=3&t=1893
There are many, and here's one:I want to make my cmd easier to use and so I want to add some more commands.
My/our contribution, a function definitions list
viewtopic.php?f=3&t=1893