When using the command line, you can redirect standard output and standard error into separate files or into a single file. How you redirect command-line output depends on which operating system you are using:
one.out
and standard error into file two.out
, type
the df command (with its filenames and options) as follows:
df filenames /options 1>one.out 2>two.out
You can also use a short-cut form (omit the 1):
df filenames /options >one.out 2>two.out
To place standard output and standard error into a single file both.out
on a
Windows NT 4 or Windows 2000 system, type the df command as follows:
df filenames /options 1>both.out 2>&1
You can also use a short-cut form (omit the 1):
df filenames /options >both.out 2>&1
x86\Usupport\Misc\Win95
folder.
Copy ec.exe into a folder in your command-line path (PATH
environment variable) on your hard disk.
Precede the DF command line with the EC command and place the entire
DF command in quotes. For example, to place standard output into the
file one.out
and standard error into file two.out
, type
the EC and DF command (with its filenames and options) as follows:
ec "df filenames /options 1>one.out 2>two.out"
To place standard output and standard error into a single file both.out
on a
Windows 98, Windows Me, or Windows 95 system, type the EC and DF commands as follows:
ec "df filenames /options 1>both.out 2>&1"