Customizing and Automating Installations

If you are starting Setup from MS-DOS, you can convert short file names to long names by creating a file called $$Rename.txt and putting that file in the subfolder of the distribution folder that also contains the files that you want to convert. If you are starting Setup from any other operating system, they are converted automatically.

Setup uses the list of files that you specify in $$Rename.txt to convert short names to long names during the installation process. You must include a $$Renamte.txt file in each subfolder that contains

The $$Rename.txt file changes short file names to long file names during Setup. $$Rename.txt lists all of the files in a particular folder that must be renamed. Each folder that contains short file names to be renamed must contain its own version of $$Rename.txt.

To convert short file names to long file names

  • Create a $$Rename.txt file following this syntax:

[section_name_1]

short_name_1 = long_name_1

short_name_2 = long_name_2


`short_name_x = long_name_x`

`[section_name_2]`

`short_name_1 = long_name_1`

`short_name_2 = long_name_2`

`  `

`short_name_x = long_name_x`

Where:

*section\_name\_x* is the path to the subfolder that contains the files. A section does not have to be named, or it can have a backslash (\\) as a name, which indicates that the section contains the names of the files or subfolders that are in the root of the drive.

*short\_name\_x* is the name of the file or subfolder within this subfolder to be renamed. The name must *not* be enclosed in quotation marks.

*long\_name\_x* is the new name of the file or subfolder. This name must be enclosed in quotation marks if it contains spaces or commas.

![tip-icon](images\Cc963247.tip(en-us,TechNet.10).gif "tip-icon")

Tip

If you are using MS-DOS to start the installation, and your MS-DOS-based tools cannot copy folders with path names longer than 64 characters, use short file names for the folders and then use $$Rename.txt to rename them later.