次の方法で共有


Irftp

Sends files over an infrared link. Used without parameters or used with /s, irftp opens the Wireless Link dialog box, where you can select the files that you want to send without using the command line.

Syntax

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

irftp /s

Parameters

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. If you specify a set of files, you must specify the full path for each file.

/h   : Specifies hidden mode. When hidden mode is used, the files are sent without displaying the Wireless Link dialog box.

/s   : Opens the Wireless Link dialog box, so that you can select the file or set of files that you want to send without using the command line to specify the drive, path, and file names.

Remarks

  • Before using this command, verify that the devices that you want to communicate over an infrared link have infrared functionality enabled and working correctly, and that an infrared link is established between the devices.

Examples

To send a Word document named MyWorkDoc, located in a folder named MyWorkFiles (on drive C of the source computer), to the target computer, type:

irftp C:\MyWorkFiles\MyWorkDoc.doc /h

To send two Word documents, MyWorkDoc1 and MyWorkDoc2, both located in a folder named MyWorkFiles (on drive C of the source computer), to the target computer, type:

irftp C:\MyWorkFiles\MyWordDoc1.doc C:\MyWorkFiles\MyWordDoc2.doc /h

Hidden mode is used, so that the Wireless Link dialog box is not displayed.

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z

Send files using the command line

Verify infrared support on a computer

Establish an infrared link