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_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.

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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.
Answered 08/14/2009 by: VBScab
Red Belt

Please log in to comment