Send files using the command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To send files using the command line

  1. Establish an infrared link by aligning your computers so that the infrared transceivers are within 1 meter (approximately 40 inches) of each other, and the transceivers are pointing at each other. For more information, see Related Topics.

  2. Open Command Prompt.

  3. At the command prompt, type:

    irftp[Drive:] [[Path] FileName] [/h]

    Value Description

    Drive:

    Specifies the drive that contains the files that you want to send over an infrared link.

    [Path] FileName

    Specifies the location and name of the file or set of files that you want to send over an infrared link.

    /h

    Specifies hidden mode. When hidden mode is used, the Wireless Link dialog box does not display when the files are sent.

Important

  • To enhance security, align infrared devices so that the infrared transceivers are between 0.1 meter (approximately 4 inches) and 0.5 meter (approximately 20 inches) apart whenever you establish an infrared link between two devices. Although there can be up to 1 meter (approximately 40 inches) between infrared transceivers without a loss in data transfer capability, if you place the transceivers closer to each other, you minimize the risk of interference from an attacker. To further enhance security, ensure that all infrared devices and data sources are trustworthy, and, if you are transferring infrared data with another person, conduct the transfer in a private location whenever possible. For more information about infrared security considerations, see Related Topics.

Notes

  • Performing this task does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • In the Windows Server 2003 family, only Windows Server 2003, Standard Edition, supports infrared networking.

  • If you do not specify a drive, a path, and a name for the file or set of files that you want to send, the Wireless Link dialog box opens, so that you can select the files without using the command line.

  • For information about other command-line utilities or manageability, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Establish an infrared link
Security information for infrared communication
Transferring files
Command-line reference A-Z

Other Resources

Irftp