/build/static/layout/Breadcrumb_cap_w.png

Usage of a space in DefaultDir (Directory Table)

Hi there,

Some nutcase here decided to make a directory in the Start Menu called " Speciale Toepassingen"
Notice the space character in front of the name.

The reason they did this is because it will always appear as the top directory in the Start Menu. (Don't blame me for that, I'm the victim.)

When in the Directory Table I try to name it " Speciale Toepassingen" it appears to be working just fine. (Using Wise.)
However, when I install the app, the space is removed and the directory is just called "Speciale Toepassingen" in the Start Menu. To confirm that the space was indeed valid, I opened the MSI using InstEd it!. It displays the following:

Directory: SPECIALETOEPASSINGEN
Directory_Parent: ProgramMenuFolder
DefaultDir: SPECIA~1| Speciale Toepassingen
target_path: ProgramMenuFolder\ Speciale Toepassingen

(Notice the space again)

I also found this article while searching AppDeploy first:
No space is allowed preceding the vertical bar (|) separator for the short file name/long file name syntax. Short file names may not include a space, although a long file name may. A space can exist after the separator only if the long file name of the file name begins with the space. No full-path syntax is allowed.
(http://itninja.com/blog/view/use-generic-drive-controller-driver-in-your-image5)

So for filenames, it is possible...


Can anybody confirm that using a space at the front of a directory name is (or is not) possible?


Kind regards,
Rowan Heuvel

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 14 years ago
Red Belt
0
In NTFS, as in DOS, and in fact most file systems I can think of, a directory (sorry, folder) is essentially a file with a special attribute so the same rule applies to both.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ