May 13, 2013

0 DOS Commands I


             
              The main focus of this post is to provide the detailed command description for each command (in DOS).




ACALC 

External - PC DOS 7

Calculates the value of a mathematical expression.

ACALC [/T[:]format] expression
 
  /T           Specifies the output format type
  format         D=Decimal (default)   B=Binary   O=Octal   X=heXadecimal
                 A=All (decimal, binary, octal, and hexadecimal)
  expression   Specifies a valid numeric expression.
 
Numbers prefixed with 'b', 'o', and 'x' are assumed to be binary, octal,
and hexadecimal respectively.  Decimal numbers are not prefixed.
 

 

APPEND 

External - DOS 3.3 and above
Allows programs to open data files in specified directories as if they were in the current directory.

APPEND [[drive:]path[;...]] [/X[:ON | :OFF]] [/PATH:ON | /PATH:OFF] [/E]
APPEND ;
 
  [drive:]path Specifies a drive and directory to append.
  /X:ON        Applies appended directories to file searches and
               application execution.
  /X:OFF       Applies appended directories only to requests to open files.
               /X:OFF is the default setting.
  /PATH:ON     Applies appended directories to file requests that already
               specify a path.  /PATH:ON is the default setting.
  /PATH:OFF    Turns off the effect of /PATH:ON.
  /E           Stores a copy of the appended directory list in an environment
               variable named APPEND.  /E may be used only the first time
               you use APPEND after starting your system.
 
Type APPEND ; to clear the appended directory list.
Type APPEND without parameters to display the appended directory list.

 

ASSIGN

External - DOS 2.0 and above
Redirects requests for disk operations on one drive to a different drive.
ASSIGN [x[:]=y[:][...]]
ASSIGN /STATUS
 
  x        Specifies the drive letter to reassign.
  y        Specifies the drive that x: will be assigned to.
  /STATUS  Displays current drive assignments.
 
Type ASSIGN without parameters to reset all drive letters to original
assignments.

 

ATTRIB 

External - DOS 3.0 and above
      Displays or changes file attributes.
ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [[drive:][path]filename] [/S]
 
  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  /S  Processes files in all directories in the specified path.
+S, -S, +H, and -H are available in DOS 5.0 and above.

Source: Microsft and wikipedia.com

         If you find this site useful, please support us. Like our FaceBook Page. You can also contact us by mail: portaltechinfo@gmail.com

0 comments:

Post a Comment

 

T.I.P - Tech Info Portal Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates