In addition, you don??™t need a graphical interface to use Edit, so it works
at the DOS prompt, the Windows recovery console, or just about anywhere else you might need an
editor. However, even with these limits, Edit supports a robust interface for a text editor, as shown
in Figure 5.1. From a Server Core perspective, however, the Edit utility is best because it has no reliance
on Windows functionality, so you don??™t need to worry about issues such as common dialog
box usage.
Figure 5.1
Use Edit wherever you
need a fully functional
text editor.
As you can see, the utility sports many of the same features as Notepad, but without the Notepad
requirements. This utility uses the following syntax:
EDIT [/B] [/H] [/R] [/S] [/
] [/?] [file(s)]
The following list describes each of the command line arguments.
/B Sets Edit to start in monochrome mode.
/H Sets Edit to start with the maximum number of lines of text for your hardware. The default
setup displays 25 lines of text.
/R Loads files in read-only mode. Use this option when you want to view the file content without
accidentally changing it.
/S Forces Edit to use short filenames.
Pages:
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322