answersLogoWhite

0

MS-DOS

MS-DOS is a 16-bit operating system for IBM PC-compatibles. It was developed and sold by Microsoft in the early 90s. Although no longer in common use, it is still used to load some diagnostic and repair utilities even on modern computers.

734 Questions

Why Windows is better than DOS?

  1. DOS uses CLI (command line interface), whereas Windows used GUI (graphical user interface)..
  2. DOS does not support networking, Windows does..
  3. DOS is a single user OS, Windows is Multiuser..
  4. DOS is a single tasking OS, Windows is Multitasking..
  5. Dos is a single threading OS, Windows is a Multithreading..
  6. DOS supports 2 GB of maximum partition size, Windows supports 2 TB or more..
  7. DOS uses FAT 16 file system, Windows uses FAT 32..
  8. Server administration is not possible in DOS..

There are numerous advantages for windows users and programmers alike over the older DOS text based environment. They are 1. Standardised graphical user interface 2.Multitasking capability 3.OOP approach in programming 4.Memory control 5.Hardware Independence 6.Use of dynamic link libraries (DLL)
Biggest Different is Graphical user interface and Multimedia feature both are support by Window , not ms dos

Does Windows Vista supports MS-DOS?

It supports some dos commands. Use start->run->cmd to check this out.

Does IBM PC dos come with a GUI?

IBM PC DOS doesn't come with a GUI, Just a black & white screen at first after that the colored screen was developed, but the first GUI product was an apple product.

What are some VBS commands?

VBS Commands A-Z

A

Abs(number) Absolute (positive) value of number

.AppActivate Activate running command

Array(el1,el2,el3) Add values to an Array variable

Arguments.Item .Count and .length

Asc(String) Return ASCII code for string

AscB(String) Return Byte code for string

AscW(String) Return Unicode code for string

.BrowseForFolder Prompt the user to select a folder

c

Call subroutine (arguments) or subroutine arguments

CBool(expression) Convert expression to Boolean (True/False)

CByte(expression) Convert expression to Byte (0-255)

CCur(expression) Convert expression to Currency (numeric)

CDate(expression) Convert expression to Date

CDbl(expression) Convert expression to Double (up to 1.79x10308)

Chr(ChrCode) Return the string character for ChrCode (ASCII code)

ChrB(ChrCode) Return the string character for ChrCode (Byte code)

ChrW(ChrCode) Return the string character for ChrCode (Unicode/DBCS)

CInt(expression) Convert expression to Integer

.CreateObject Create a WSH automation object

.CreateShortcut Create Shortcut

cscript Run a VBScript .vbs file

d

Date() The current system date

DateAdd Add a time interval to a Date

DateDiff Return the time interval between two dates

DatePart Return a unit of time from a date

DateSerial Return a Date from a numeric Year, Month and Day

DateValue Return a Date from a string expression

Day(date) Return the day component of date (1-31)

Dim Declare a new variable or array variable

Do..Loop Repeat a block of statements

Drives

Drive Map .MapNetworkDrive - .Enum - .Remove

e

.Echo Echo text to screen, also StdOut.Write /.Popup

End End a procedure or code block

Environment Variables - Expand - .Delete/Remove

Escape(String) Return only ASCII characters from a Unicode string.

Eval(expr) Evaluate an expression

.Exec Run a command

Exp(n) Return e (base of natural logs) raised to a power n.

Exit Exit a block of code immediately

f

FileSystemObject Work with Drives, Folders and Files

Filter Produce an array by filtering an existing array

Fix(number) Return the integer portion of a number

(negative numbers round up)

For...Next Repeat a block of statements a given number of times

For Each... Loop through the items in a collection or array

FormatCurrency Format a number with a currency symbol

FormatNumber Format a number

FormatPercent Format a number with a % symbol

FormatDateTime Format a Date/Time value

Function Define a function procedure

g

GetLocale() Return the Regional LocaleID

.GetObject Get an Automation object

Hex(number) Return the hex value of number

Hour(time) Return the hour component of time

i

If..Then Conditionally execute a block of statements

InputBox Prompt for user input

InStr Find one string within another

InStrRev Find one string within another, starting from the end

Int(number) Return the integer portion of a number

(negative numbers round down)

IsArray(varname) Is varname an array? True/False

IsDate(expression) Is expression a DateTime? True/False

IsEmpty(expression) Is expression empty? True/False

IsNull(expression) Is expression a DateTime? True/False

IsNumeric(expression) Is expression a Numeric? True/False

IsObject(expression) Is expression an object? True/False

l

LCase(String) Return String in lower case

Left(String,len) Return the leftmost len characters of string

LeftB(String,len) Return the leftmost len bytes of string

Len(String) Return length of string in characters

LenB(String) Return length of string in Bytes

Log(number) Return natural log of number

.LogEvent Log an item in the Event log

LTrim(String) Remove any leading spaces from a string expression

m

.MapNetworkDrive Drive Map

Mid Return a mid-section from a string

Minute(time) Return the minute component of time

Month(date) Return the month component of date

MonthName Convert a month number to a descriptive Month

MsgBox Display a dialogue box message

Now() Return the current Date and Time

o

On Error Error handling

Option Explicit Force all variables to be defined

p

.AddPrinterConn / .AddWindowsPrConn Add Printer connection

.EnumPrinterConnections List Printer connections

.SetDefaultPrinter Set default printer

.RemovePrinterConnection Remove printer connection

Private VarName Declare a local variable/array variable

Public VarName Declare a public variable/array variable

q

.Quit Quit

r

Randomize(number) Initialise the random number generator

.ReadLine Accept user text input

ReDim Resize a dynamic array

RegExp Regular expression search object

.RegDelete Registry, delete

.RegRead Registry, read

.RegWrite Registry, write

Replace Find and replace text

Right(String,len) Return the rightmost len characters of string

RightB(String,len) Return the rightmost len bytes of string

RGB(Red,Green,Blue) Return a system color code

Rnd Return a random number

Round Round a number to n decimal places

RTrim(String) Remove any trailing spaces from a string expression

.Run a command

s

Second(time) Return the second component of time

Select...Case Conditionally execute a block of statements

.SendKeys

Set variable = object Assign an object reference

SetLocale(LocaleID) Set the Regional LocaleID

Sgn(number) The sign of a number

Shell.CurrentDirectory Retrieve or change the current directory

Shortcut create .CreateShortcut

.Sleep

.SpecialFolders Path to Desktop,Start menu, Programs...

Split Parse a string of delimited values into an array

Sqr(number) Square root

StrComp Compare two strings

String Create a string with a single character repeated

StrReverse Reverse a string

Sub Start a subprocedure

t

Time() The current system time

Timer() The number of seconds since midnight

TimeSerial Construct a Time value from Hours, Minutes and seconds

TimeValue Convert a string to a Time value

Trim(String) Remove leading and trailing spaces from string

u

UBound Return the largest subscript for an array dimension

UCase(String) Uppercase String

UnEscape(Str) Return Unicode characters from an escaped ASCII string

w

Weekday Return the day of the week (1-7)

WeekdayName Return the named day of the week

While...Wend Conditionally repeat a block of statements

With Assign multiple properties of an object

wscript.Name Wscript properties: name, version, mode

Year(date) Return the year component of date (1-12)

What is the key command for DOS?

Go to the Command prompt and run "help" command to see the command list..

Difference between copy and move command?

The copy command creates a duplicate of the selected content in the new location, such that there are now two copies of the content, while the move command moves the content from the original location into the new location, such that only one copy of the content still exists after moving.

Which command is used to backup in DOS 6 plus version?

The BACKUP command is used to backup in DOS 6 plus version.

Who the best kisser in dos palos?

Anaceli Solis is the best kisser in Dos Palos. That girl sure no how to get down on kissing.

What is the function of io.sys in DOS?

The io.sys file contains the basic I/O software for real mode and is required for Windows 9x/ME or MS-DOS to boot.

What is the maximum length of a file name in MS-DOS in NTFS?

On FAT16 partitions, you are limited to 8 characters for the name plus 3 for the file extension. If you have FAT32 and a capable kernel, you can use up to 255 characters in total as a file name.
In the original MS-DOS of the pre-Windows 95 era, filenames were only allowed to have 8 letters, followed by a period '.', then only 3 letters for the file extension.

After Windows 95, filenames can have a maximum of 255 characters.

MS-DOS was the primary PC operating system during which time period?

MS-Dos was first released in August 1981. It remained a staple of computer users until its final release in September 2000.

What are internal DOS command?

Internal DOS command are those which were pre loaded into the Operating system. (I am talking about the DOS ver 3.2) In contrast to the External DOS commands, which are the utilities developed for different functionalities (usually .exe and .com files) eg. FORMAT, DISKCOPY,FDISK which are to be used from the storage medium they are in; in the floppy drive (or a Hard Disk Drive!!! on a Intel 286 based AT computer with a storage capacity of 20 MB!!! How large compared to stacks of floppies each with 360 KB capacity!!!) :-)
-PUBBS

What is internet DOS commands?

*help

This command gives you a key to virtually everything you need to use DOS effectively. Can't remember the format for the FORMAT command? Not a problem! Type HELP FORMAT and press the ENTER key, and you've got everything you need to use FORMAT! This is true for virtually every DOS command so if you remember HELP command name you won't have any problems.

Another way to get help (or, if you don't install the HELP files suggest above, the ONLY way to get help in Windows 95) is to use /? (slash, question mark) after any command. This is faster and sometimes a more useful form of help, but it is generally only a listing of options. HELP is usually a more verbose help facility than /? is.

*copy

Once you know where to get help, the rest is easy. The whole purpose of DOS is to let you get around the directory tree easily. You use DOS to start applications (like my own P11.EXE program) and to copy files, delete files, build places to put files, and compare files, and so on. Files, Files, Files. That's what DOS is really for.

The #1 tool for file handling is the COPY command. Specify the "from" file first, then the "to" file. COPY only copies from within one directory at a time, but the "to" directory can be different. For copying entire directory structures, use XCOPY instead.

What makes COPY so powerful is that you can use "wild cards" like * and ? within the file name.

*xcopy

Like COPY, XCOPY can use wildcards to copy a file or group of files to another directory. But XCOPY is more powerful because it has the ability to copy an entire directory structure in one command. Use the /s option to accomplish this. Use HELP XCOPY to learn more, of course!

*cd

CD is the cold, hard way of doing things, but sometimes it's the right way. What makes it cold and hard is that in comparison to Norton's Change Directory (normally abbreviated NCD, but I abbreviated it to C on my system), the DOS CD command requires you to type the complete directory entry, all the way back to the root level! This is absurd. NCD, on the other hand, lets you type in anything that's close, and it will search your entire directory structure and plop you down right where you want to be. For example, to go to the \p11\pumps\svgapump directory, I can just type in: c svgap and immediately NCD will take me there. With CD, I would have to type cd \p11\pumps\svgapump to accomplish the same thing. Saving keystrokes is the name of the game. (That's why later in this tutorial, you'll learn to write batch files.)

In dos what is the function of a parameter?

A parameter is a command-line switch or an argument to a function. We use parameters to specify the input variables for the commands or functions we invoke. For instance, when we want to list the contents of a directory or folder, we have to pass the directory or folder path to the appropriate command so that it knows which directory or folder to process.

In what year was DOS created?

MS-DOS 1.0 came out in July of 1981. There were other versions before it but that was pretty much the first version sold to the public.

What is the disk scheduling in ms dos?

Its regarding disk scheduling in any OS..

When a process wants to do disk I/O, it makes a call to the operating system. Since the operation may take some time, the process is put into a blocked state, and the I/O request is sent to a part of the OS called a device driver. If the disk is idle, the operation can be started right away, but if the disk is busy servicing another request, it must be added to a queue of requests and wait its turn. Thus the total delay seen by the process has several components:

  • The overhead of getting into and out of the OS, and the time the OS spends fiddling with queues, etc.
  • The queuing time spent waiting for the disk to become available.
  • The latency spent waiting for the disk to get the right track and sector.
  • The transfer time spent actually reading or writing the data.

What are the advantages of Internal Commands of MS-DOS?

They don't offer any real advantages other than perhaps being slightly faster.