|Hypertext Markup LanguageCascading Style SheetsExtensible Markup LanguageJava ScriptjQueryAngularJSOracle SQLOracle PL/SQLOracle D2K FormsOracle D2K ReportsOracle DatabaseJavaJava Database ConnectivityJava ServletJava Server PagesHibernateApache TomcatCC++PHPMy-SqlUnix/LinuxMS-DOSHR Interviews|
What is the DOS commands and explain the internal and external commands?
DOS commands are small programs and instructions that are made to perform a particular task. Every DOS command works differently. It is difficult to work on the computer without these commands. In DOS, there are many types of commands and they are classified into two types -
(1) Internal Commands
Internal Commands : These commands enter into computer memory during computer booting and are part of shell. There is no external file in the computer to read internal command.These commands are not in the form of any files, therefore neither they can be viewed nor can be edited or detected.
External Commands : These are commands that are not in-built in DOS and are not part of shell, they are only loaded in memory when they are invoked. These commands are present in the form of files and mostly are in exe, bat and com extensions ,therefore they can be viewed, copied, changed or deleted.
Thanks for your comment.!
Write a comment(Click here) ...
What is DOS?
DOS is an abbreviation for Disk Operating System and refers to the PC operating system. This operating system works as a medium between user and computer system, and between hardware and software too.
It is a character based, single user, single tasking, standalone operating system.
It can perform following task-
Many DOS options and / or enhancements are available, including MS-DOS (Microsoft Disk Operating System), FreeDOS and DR-DOS.
Describe the 10 DOS commands?
The 10 DOS command are-
Tell about networking related DOS commands?
What is a batch file, give an example?
Batch files are special files with extension bat or cmd, which are often called scripts file that allows us to automate the task. Batch files contains a list of commands that are always executed together and in sequence, because we run the batch file as "command" instead of running each command individually.
We can create a batch file by using any text editor like the Notepad and by entering some lines of commands, and to save the file with an extension BAT or CMD.
@ECHO ON REM This is an example of BAT file output. @ECHO OFF REM what we have... Dir
Note that the individual commands or comments are separated by newlines which runs sequentially after double clicking on mybat.bat batch file.
How to run a Batch File?
A batch file can be run in two ways-
By command prompt as command
What is the difference between copy and copy con in DOS?
Copy is used to make a copy of a file. With this command, we can copy or append files with the same name or a new name in the current directory or any other location.
Copy con is also called copy console, it is used to write file. We can not use copy con to edit the file. After write in the file, CTRL Z is required to save and exit .
@echo off cls echo This batch file does absolutly echo nothing but print this line. ^z
CTRL Z ends the "writing" of the file.
What is chkdsk command?
Chkdsk is an abbreviation for check disk, used to check the status of the file system.
It scans the disk drive and helps in detecting error, repair and retrieval of data from bad sectors.
What is AUTOEXEC.BAT file?
Autoexec.bat (Automatic execute batch) is a special plain-text batch file that is executed after system boot.
Which is wild card character in DOS?
Wildcards are special characters and symbols that represent one or more characters. Commonly used wildcards are asterisk (*) and question mark (?).
An asterisk (*) is represents one or more characters, and a question mark (?) is represents a single character.
What is the xcopy command in dos?
The XCOPY command is used to copy one or more files and directories, including subdirectories from one location to another location.
What is CONFIG.SYS?
Config.sys is a configuration file and it is executed during system boot.
It contains commands and instructions to load device drivers, lastdrive, shell, devicehigh, buffers etc. It also used to load programs in memory to manage memory,hardware, keyboard, mouse, printer, and other peripherals.
Config.sys is editable text file and it can be edit in any text-editing program.
After executing the command of the config.sys file, the autoexec.bat file is executed.
How we can create a directory in DOS?
MD or mkdir MS-DOS command can use to create a directory
Explain the use of help DOS Command?
The help command provides more detailed information about other commands.
What is the full form of DOS?
The full form of DOS is Disk Operating System. This operating system works as a medium between user and computer system, and between hardware and software too.
First we increased the denominator of a positive fraction by 3 and then decrease it by 5.The sum of the resulting fractions proves to be equal to 2/3. Find the denominator of the fraction if its numerator is 2?
If we divide a two digit number by the sum of its digits we get 4 as a quotient and 3 as a remainder. Now if we divide that two digit number by the product of its digits we get 3 as a quotient and 5 as a remainder . Find the two digit number?
The denominators of an irreducible fraction is greater than the numerator by 2.If we reduce the numerator of the reciprocal fraction by 3 and subtract the given fraction from the resulting one,we get 1/15.Find the given fraction?
If we add the square of the digit in the tens place of the positive two digit number to the product of the digits of that number we get 52,and if we add the square of the digit in the unit's place to the same product of the digits we get 117.Find the two digit number?
The sum of squares of the digits constituting a positive two digit number is 13, If we subtract 9 from that number we shall get a number written by the same digits in the reverse order. Find the number?
The arithmetic mean of two numbers is smaller by 24 than the larger of the two numbers and the GM of the same numbers exceeds by 12 the smaller of the numbers. Find the numbers?
A number being successively divided by 3,5,8 leaves remainder 1,4,7 respectively. Find the respective remainders if the order of divisors are reversed?
The sum of all possible two digit numbers formed from three different one digit natural numbers when divided by the sum of the original three numbers is equal to?
|HCF and LCM|
Find the HCF and LCM of the polynomial x2-5x+6 and x2-7x+10?
When we multiply a certain two digit number by the sum of its digits , 405 is achieved. If we multiply the number written in reverse order of the same digits by the sum of the digits, we get 486. Find the number?
The sum of two numbers is 15 and their geometric mean is 20% lower than their arithmetic mean. Find the numbers?
The difference of 1025-7 and 1024+x is divisible by 3. find x=?
A number when divided by the sum of 555 and 445 gives two times their difference as quotient and 30 as remainder . The number is?
The sum of three prime numbers is 100.If one of them exceeds another by 36 then one of the numbers is?
Find the number of zeros in the factorial of the number 18?
If a number is multiplied by 22 and the same number is added to it then we get a number that is half the square of that number. Find the number?
In doing a division of a question with zero remainder,a candidate took 12 as divisor instead of 21.The quotient obtained by him was 35. The correct quotient is?
A number when divided by 342 gives a remainder 47.When the same number is divided by 19 what would be the remainder?
|Jobs in West Bengal|
इंडियन पोस्ट सर्विस Indian Post Service - 2357 पद - 19/08/2021 अंतिम तिथि - पश्चिम बंगाल पोस्टल सर्कल
भारतीय स्टेट बैंक State Bank of India(SBI) - 6100 पद - 26/07/2021 अंतिम तिथि - CRPD/APPR/2021-22/10
कर्मचारी चयन आयोग Staff Selection Commission(SSC) - 25271 पद - 31/08/2021 अंतिम तिथि
|Jobs in Madhya Pradesh|
राष्ट्रीय स्वास्थ्य मिशन मध्य प्रदेश National Health Mission MP(NRHM) - 5215 पद - 22/06/2021 अंतिम तिथि
|Jobs in Punjab|
पंजाब स्टेट पावर कॉर्पोरेशन लिमिटेड Punjab State Power Corporation Limited (PSPCL) - 2632 पद - 20/06/2021 अंतिम तिथि
|Jobs in Chhattisgarh|
स्वास्थ्य सेवा निदेशालय, छत्तीसगढ़ Department of Health & Family Welfare, Chhattisgarh - 267 पद - 26/06/2021 अंतिम तिथि
दिल्ली सबऑर्डिनेट सर्विस सिलेक्शन बोर्ड Delhi Subordinate Services Selection Board(DSSSB) - 5807 पद - 03/07/2021 अंतिम तिथि
|Jobs in Madhya Pradesh|
राष्ट्रीय स्वास्थ्य मिशन मध्य प्रदेश National Health Mission MP(NRHM) - 2850 पद - 31/05/2021 अंतिम तिथि
इंडियन पोस्ट सर्विस Indian Post Service - 4368 पद - 29/05/2021 अंतिम तिथि
दिल्ली सबऑर्डिनेट सर्विस सिलेक्शन बोर्ड Delhi Subordinate Services Selection Board(DSSSB) - 7236 पद - 24/06/2021 अंतिम तिथि