Using EDIT

 <  Day Day Up  >  

Using EDIT

EDIT is a plain-text text editor that can be used to read and edit batch (.BAT), .INI, CONFIG.SYS, and other types of text files. To open a file with EDIT , type EDIT filename .

The options shown here apply to all versions of EDIT :

 C:\WINDOWS\Desktop>edit /? MS-DOS Editor   Version 2.0.026   Copyright (c) Microsoft Corp 1995. EDIT [/B] [/H] [/R] [/S] [/<nnn>] [/?] [file(s)]   /B       - Forces monochrome mode.   /H       - Displays the maximum number of lines possible for your              hardware.   /R       - Load file(s) in read-only mode.   /S       - Forces the use of short filenames.   /<nnn>   - Load binary file(s), wrapping lines to <nnn> characters wide.   /?       - Displays this help screen.   [file]   - Specifies initial files(s) to load.  Wildcards and multiple              filespecs can be given. 

Here are some examples:

  • EDIT C:\MSDOS.SYS ” Opens the Msdos.sys file in the root folder of drive C: for editing; user must change file attributes of Msdos.sys with ATTRIB first to allow changes to file.

  • EDIT ” Opens editor; user must open File menu within Edit to select file(s) to open.

EDIT has pull-down windows you can activate with a mouse or with the keyboard. If you are using EDIT after booting from an EBD and no mouse driver is loaded, hold down the Alt key and press the first letter of each menu to display that menu:

  • File ” Opens, saves, prints, and closes a file; exits the program.

  • Edit ” Cuts, copies, pastes, and clears selected text.

  • Search Finds and replaces specified text.

  • View ” Adjusts options for dual-screen editing (two documents at once).

  • Options ” Adjusts tab stops, printer port (COM or LPT), and screen colors.

  • Help ” Displays EDIT help screen.

 <  Day Day Up  >  


Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 310

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net