Question 1. What Is Microsoft Dos And Windows Command Line?
MS-DOS is a non-graphical command line working device created for IBM well suited computer systems. MS-DOS became first brought by using Microsoft in August 1981 and changed into final up to date in 1994 with MS-DOS 6.22. Although the MS-DOS operating gadget is not often used nowadays, the command shell typically called the Windows command line remains extensively used.
Question 2. What Is Dictionary Definition And Related Terms On Ms-dos?
MS-DOS is a non-graphical command line running machine derived from 86-DOS that turned into created for IBM like minded computer systems. MS-DOS at first written by using Tim Paterson and introduced with the aid of Microsoft in August 1981 and turned into ultimate up to date in 1994 while MS-DOS 6.22 changed into launched. MS-DOS lets in the consumer to navigate, open, and otherwise manipulate files on their computer from a command line instead of a GUI like Windows.
Windows DOS command prompt window Today, MS-DOS is now not used; but, the command shell, greater typically known as the Windows command line remains used by many users. The photograph to the proper, is an instance of what an MS-DOS window greater as it should be known as the Windows command line seems like walking under Microsoft Windows.
Most computer customers are best familiar with how to navigate Microsoft Windows the usage of the mouse. Unlike Windows, MS-DOS is a command-line and is navigated by using the usage of MS-DOS instructions. For instance, if you desired to see all of the files in a folder in Windows you will double-click the folder to open the folder in Windows Explorer. In MS-DOS, to view that equal folder you'll navigate to the folder the usage of the cd command and then list the documents in that folder using the dir command.
Pascal programming Interview Questions
Question three. Explain Information On Autoexec.Bat And Config.Sys?
The autoexec.Bat and the config.Sys had been documents created for MS-DOS and Windows three.X as an smooth answer of loading the documents required for various devices as well as the working machine to properly run. These files are required for later revisions of MS-DOS and Windows 3.X to load. However, with more recent versions of Windows are now not wished.
How to edit the documents: The auotexec.Bat and the config.Sys are edited by using the MS-DOS command record Edit. To edit these files, type edit c:autoexec.Bat to edit the autoexec.Bat record, or edit c:config.Sys to edit the config.Sys record. If the mouse drivers are not loaded properly, the mouse will no longer work.
Remarking data: Remarking traces in the autoexec.Bat or the config.Sys allows you to briefly or permanently prevent a line from loading on every occasion you boot the pc. To remark a line place "REM " in the front of every line you want to pass.
If you are encountering problems with a line within the autoexec.Bat it's miles relatively endorsed which you statement the road in preference to casting off the road in case it needs to be located again into the autoexec.Bat.
Getting additional reminiscence: The beneath instructions assist your laptop load programs into memory extra successfully allowing you to have extra reminiscence for MS-DOS programs and video games.
Question 4. What Is Batch File?
Batch documents allow MS-DOS and Microsoft Windows users to put in writing a chain of instructions to run in order upon their execution for automating regularly completed responsibilities. For example, a batch document will be used to run frequently utilized instructions, delete or pass a chain of files, and different jobs.
One of the earliest batch documents changed into the autoexec.Bat, that's a boot batch file loaded each time the computer started out MS-DOS and early variations of Windows. A simple batch report does not require any special programming competencies and may be created by customers with a fundamental expertise of MS-DOS commands.
Pascal programming Tutorial
Question 5. How To Run A Batch File?
To run a batch record, observe the steps under for wherein you want to run the batch record.
Running a batch file from within Windows:
A batch file runs like another executable report with the aid of double-clicking the document within Windows. However, due to the fact a batch record runs in a command line, it right away exits when accomplished, so that you might also best see a black box for a 2nd.
Tip: If the batch file is last too speedy, or you want to examine the output from the batch report, you could edit the batch file and add a pause to the cease of the report. The pause command waits for user enter earlier than persevering with.
Run a batch file from the Command Prompt:
To run a batch record, move to the listing containing the record and sort the call of the batch document. For instance, if the batch record is named "hope.Bat", you may kind "wish" to execute the batch document.
Microsoft Excel Interview Questions
Question 6. How To Create A Boot Disk?
A boot disk permits you to boot off of a diskette in place of your tough power. This diskette may be used to restoration issues that may arise at some stage in the lifetime of your pc or to assist load older MS-DOS video games. Keep in thoughts this diskette is absolutely exceptional than a restore CD or disc which can were included along with your pc.
Question 7. What Does Max Mean On 24x Max Cd-rom Drive?
CD-ROM drives which can be over 16x have max written subsequent to it. When max is written next to the speed or at the force, this shows that the CD-ROM makes use of CAV, or Constant Angular Velocity, to get admission to its facts. Originally, CD-ROM drives utilized CLV, or Constant Linear Velocity, which accessed facts slower or quicker via changing the velocity of the motor to switch the records at a consistent waft.
With CAV, the CD rotates at a constant velocity, this means that a 32x velocity CD-ROM, as an instance, may be capable of access the facts 32x on the outside layer. However, while coming near the middle of the CD-ROM pressure, the access velocity can lower near 20x.
Microsoft Excel Tutorial Microsoft Word Interview Questions
Question eight. Can Cd-rom Drives Be Mounted Vertically?
CD-ROM drives have the capability of walking horizontally and vertically. When walking the pressure vertically, we propose looking for a small "sleeve" this is used to preserve a disc at the same time as it's far being spun in the pressure. This alignment commonly corresponds with the power's eject button be located close to the pinnacle of the gadget.
Question 9. What Are Ms-dos Issues?
Below are known Microsoft DOS troubles and the resolutions to each of them, if to be had.
Extended characters inside the label of a power: Earlier versions of Windows and MS-DOS allows extended characters to be entered into the label of the tough pressure or disk drive. If invalid characters are detected inside the label whilst walking scandisk it can try and accurate the label of the drive and damage or smash all of the drives statistics.
Xcopy and attributes: When the usage of xcopy to replicate the contents of a folder, the source folder's attributes are not applied to the new folder. The cause for this is because xcopy can not copy attributes for directories. To fix this difficulty, make certain which you do now not have the folders attribed.
More than 65MB of RAM: MS-DOS 6.2 and above will now not accept or apprehend greater than sixty four megs of RAM while typing mem.
Window switching: If the Windows 95 command line is in window mode and you press Alt + Space, let go of the gap at the same time as persevering with to keep down Alt, and press Tab to replace to another window the menu stays up.
Screen saver minimizes window: If a screen saver activates whilst in a Windows 95 MS-DOS window the DOS window might be minimized whilst the display screen saver is deactivated.
Microsoft Powerpoint Interview Questions
Question 10. Can My Cd-rom, Cd-rw, Cd-r Drive Read Dvds?
Unless your power is a DVD force or a DVD combination force, that's a pressure able to studying multiple disc formats together with DVDs, it will likely be not able to study DVD discs. It is also vital to realize that even though you can have a pressure able to analyzing CD-ROM, CD-RW, and CD-R discs, it still can be unable to examine DVD discs. However, a DVD+R or DVD+RW force is also capable of reading DVD discs.
If you're still uncertain about your pressure's abilities, now and again inspecting the the front of the device or the pressure's documentation can provide extra information.
Finally, in case you nonetheless can't stumble on your force's capabilities, it's far advocated you contact your pc manufacturer or your CD force manufacturer for added information.
Microsoft Word Tutorial
Question eleven. What Is An External And Internal Command?
In MS-DOS, there are methods instructions are done: internally and externally. An internal command is embedded into the command.Com file, and an external command, which isn't always and requires a separate document to perform.
For example, in case your pc does not have the fdisk.Exe record and also you strive the usage of the fdisk command, you'll receive a "Bad command or document call" error message. Fdisk is an outside command that simplest works if fdisk.Exe, or in some instances, fdisk.Com, is gift.
However, as long as MS-DOS is strolling for your laptop internal instructions, including the cd command, will continually be to be had and does not require different documents to run. Each of the instructions listed on the Computer Hope's MS-DOS page denote what instructions are outside and inner.
Internet Interview Questions
Question 12. How To Scroll In Ms-dos Or The Windows Command Prompt?
When in a Windows command or MS-DOS window information might also scroll so speedy it may be essential to scroll up within the window.
Listing documents or command output one page at a time
If the reason you're wanting to scroll is because a command such is displaying too much output, use one of the examples shown underneath to expose any output one web page at a time.
To listing documents in MS-DOS one web page at a time use the 'pipe' ( at the side of the more statement, as shown inside the examples beneath.
attrib *.* extra
Also, instructions just like the dir command, additionally permit the /p command that shows one web page at a time, as shown in the example under.
Pascal programming Interview Questions
Question 13. How To Resize A Fullscreen Command Line (dos) Window?
In early variations of Windows you can use the shortcut key Alt + Enter to replace between fullscreen and window mode version of the Windows command line.
New versions of Windows (Windows Vista and later) now not guide the ALT + Enter keyboard shortcut for a real fullscreen enjoy. However, urgent the maximize button makes the window the total peak of the display screen. You also can resize the window using the sizing cope with inside the bottom proper corner of the window.
This system does no longer assist fullscreen mode
Does now not guide fullscreen modeWhen trying to enter fullscreen mode in Windows Vista you'll acquire an blunders message similar to that shown in the right. As referred to above, Windows Vista and later now not help fullscreen mode.
Microsoft Powerpoint Tutorial
Question 14. In Dos How To Copy All Files From One Drive To Another?
Below are a number of the approaches you may copy all the files on one pressure to every other drive.
MS-DOS and the Windows command line
Third-birthday party software
MS-DOS and the Windows command line
xcopy command Using the xcopy command you could replica the whole contents of a drive to another drive. An example of a command that can be used is proven underneath.
Xcopy c: d: /h/i/c/k/e/r/y
In the above example, the xcopy command might reproduction all of the files at the C: pressure to the D: force.
Third-birthday celebration software: You also can find software to perform the replica. Some software program copies all files and folders over to the second hard drive. Other software offers a function to clone the first hard power to the second one hard pressure. This movement makes an exact replica of the first hard drive, consisting of partitions and document format.
You can locate some of loose packages to do the copying or the cloning. Be sure to check consumer critiques (if available) for those packages, to make certain it performs efficaciously and does what you need it to do.
Question 15. Do You Have Additional Information On Fdisk /mbr?
The FDISK /MBR command is an undocumented transfer used with the FDISK command (MS-DOS 5.Zero and higher) that recreates the grasp boot file on a tough force.
Dbase Interview Questions
Question 16. Does Doing Fdisk /mbr More Than One Time Have Any Effect On The Computer?
How this command operates varies relying on the model of FDISK you are using. However, whilst appearing this command, it's far overwriting the records that is contained in the MBR. Performing this command multiple instances is not going to do whatever more than performing the same steps once more.
Advanced Excel Functions Tutorial
Question 17. How To Type More Than One Command At One Command Prompt?
Use the pipe or the ampersand to separate your commands. The shell and version of Windows you're using comes to a decision what person to apply. Below are some additional examples for every model of Windows. In both of these examples the cd command might first get to the foundation of the modern-day power and then run the dir command to list the contemporary contents of the basis.
Microsoft Windows 2000, XP, Vista, 7, and 8 users
Instead of the use of the pipe Microsoft decided to exchange it to the ampersand (&) for reasons unknown. So, type the under command to have the identical results as earlier variations of Windows.
Cd & dir
Microsoft Windows ninety five, 98, and ME users
cd locate any document on your computer using MS-DOS offering you already know the name of the file or this system that created the report.
If you are unsure wherein the record may be at the computer, you should be at the foundation listing of the laptop. Meaning, you ought to be at C:> to get to this set off, type the under command.
Once at the basis directory or the listing you trust the document to be in, kind any of the beneath instructions.
If, for instance, you knew that the record had bob somewhere in the record you'll type:
dir *bob*.* /s
In the above example, you may make use of the wildcard, which in MS-DOS is the asterisks ( * ). Also, we utilize the /s command switch to inform the dir command to search the cutting-edge directory and all sub directories.
If you can not don't forget any of the names of the files but keep in mind that they had been created in Microsoft Excel you can, as an example, kind:
dir *.Xls /s
Microsoft Excel Interview Questions
Question 19. How To Shut Down And Restart The Computer With A Batch File?
It can be important to rename numerous document extensions to permit compatibility with another program. A desirable example wherein this could be used is renaming an ASP file to an HTML record.
Renaming in MS-DOS and the Windows command line: To rename report extensions from the Windows command line open the command prompt and comply with the steps under.
Rename a report extension maintaining the unique: Use the underneath command at the MS-DOS or Windows command line or inside a batch record.
Xcopy *.Shn *.Wav
Using a wildcard allows you to rename all documents with .Shn to a .Wav, while keeping the authentic files and extensions.
See the xcopy command for similarly data about this command.
Rename and replace files with a report extension: If you want to rename the extensions with out maintaining the original record, you may additionally use a command much like the instance beneath.
Rename *.Shn *.Wav
See the ren and rename command and xcopy command pages for in addition data approximately these commands.
Question 20. How Does Ms-dos Interpret Commands?
Each time a command is entered into MS-DOS the laptop will go through the steps below.
Computer appears at the command.Com for any internal command matches. If the command entered is not discovered it continues to the next step.
Computer looks for executable documents in the cutting-edge listing that fit the consumer's command entered. If no documents exist that in shape the customers command it continues to the next step.
Computer looks at every of the directories in the surroundings course that in shape the person's command entered.
Below are a few distinctive situations of ways MS-DOS might also interpret a command that a user enters.
User enters the "dir" command.
The pc seems at the command.Com and notices that dir is a valid internal command and executes the instructions for that command.
User enters the "layout" command.
The pc is unable to find this command in the command.Com or the nearby listing but finds it inside the route and executes the command as an outside command.
User enters the name of a recreation he or she needs to run.
The laptop is unable to find the command within the command.Com but notices the executable is in the present day listing and runs that file.
Microsoft Lync Interview Questions