Sunday, 23 November 2014

Type of Commands

No comments :

Type of Commands

In this tutorial we are going to explore something about type of commands of Batch programming. There are basically two type of commands that we can basically run from our command prompt in our language we called it CMD. These commands are :- 
1. Internal Commands
2. External Commands

Let's expands some time with them.
Internal Commands
There are some commands that are in-build, means these are comes with Operating System. We need not to worry about these will surly work if Operating System Supports. There are many Operating System in the market like Windows's XP, 7, 8, 8.1. we are not going for Linux, on Mac  here due to we are talking about batch programming and batch programming is only for windows Operating System.
There are some example of internal Commands:- echo, del, dir.


External Commands
External commands are the commands that are often created while installing a new application
and these commands mostly have no use except calling that application and support files. Means These commands are ships with Application and extend the use of our CMD. Due to Extension of working of command prompt from external application these are knows as External Commands. Few external commands can only be executed in the ‘Run’ dialog box (start → Run), but not on the command prompt, and those commands include ‘firefox’. The ‘firefox’ command can be executed only from the run line, that too if the firefox application is installed on that machine and it won’t work on the command prompt. Likewise the ‘firefox’ there are various other external commands such as the “PsTools” which includes commands like, PsExec, PsFile, PsGetSid, PsInfo, PsKill, PsList, PsLoggedOn and so on.

No comments :