The wir2ea.cmd is designed as a extra software for the wir.exe which displays Windows' long file name. This wir2ea.cmd script assign .LONGNAME extended attribute to the specified file(s).
The wir.exe with /EA switch automatically calls this wir2ea.cmd in a background session. But you can execute this script manually.
OS/2.
Please see the 'installation' chapter of the documentation of wir.exe.
Synopsis:
wir2ea [-d] [
data_file]
wir2ea [-V|-h]
The character which is used to introduce command switches is '-'. All the switches are case sensitive.
This text file must has one or more pair of the file name and tab separated long file name. Each line must contain only one pair. It is easy to create files like this. For example type:
wir /LFN /F > data_file
Of course you can edit it by hand with using a text editor.
When wir2ea.cmd cannot find file which specified in this file, the wir2ea.cmd script ignore it and continue to the next. In this case, no message is shown. And when the file name and long file name are same, this program does not assign the .LONGNAME extended attribute.
After all the specified files are processed, deletes the data_file.
Displays help message and exit immediately.
Displays version number and copyright notice. And exit immediately.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.