Windows 2000 Professional: Redirect input and output
As the computer industry continues to advance, and as users rely more on Windows applications, users will become less familiar with basic command line concepts. However, certain concepts, such as input and output redirection, are very useful.
For example, assume you want to display a directory listing with DIR, but you want to save the results to a text file that you can edit with Notepad to create a batch file or script. You can redirect the output of the DIR command to a text file with the greater than character [>]:
DIR > Myfile.txt
This command makes DIR redirect the output to Myfile.txt. If the file exists, its contents are overwritten.
To append the output to the end of the file, rather than overwrite it, use two greater than characters [>>]:
DIR >> Myfile.txt
Assume you want to sort the contents of a text file and display it to the screen; the SORT command can take keyboard input, or you can redirect the input from your text file:
SORT < Myfile.txt
You also can combine input and output redirection. This example directs input from Myfile.txt to the SORT command and directs the output to a new file named Sorted.txt:
SORT < Myfile.txt > Sorted.txt
Windows 2000 Server: Add SSL capability to IIS
Secure Sockets Layer (SSL) provides a means for securing traffic between a Web client and a Web server such as IIS.
Obtaining a certificate is the first step to securing a Web server with SSL. You can obtain a certificate from a public certification authority (CA) such as VeriSign or Thawte, or you can use Certificate Services on a Windows 2000 Server CA.
Follow these steps to issue a certificate through Windows' Certificate Services:
After the certificate is installed, follow these steps to configure the Web site for SSL:
If you want to require SSL to access the site, go to the Directory Security tab on the Web site's Properties menu, click Edit in the Secure Communications area, enable the option Require Secure Channel, and click OK. Test SSL access to the site using https:// as the URL prefix, rather than http://, when you enter the site's URL into your Web browser.