Microsoft KB Archive/104076

{|
 * width="100%"|

Set Up of Applications in Directories with Spaces May Not Work

 * }

Q104076

-

The information in this article applies to:


 * Microsoft Windows NT Server version 3.1
 * Microsoft Windows NT Workstation version 3.1
 * Microsoft Windows NT Advanced Server, version 3.1

-

SYMPTOMS
If you use Windows NT Setup to set up existing applications, icons that are created from applications that are in directory names with spaces will not work correctly.

Steps to Reproduce Problem
 On an NTFS partition, create a directory with a spaces in its name, such as "dir name." Copy a Windows 3.0 or 3.1 or Windows NT application into the directory (such as WRITE.EXE). From the Main program group, open the Windows NT Setup program. Select Options from the menu and then select Set Up Applications. Select the drive on which the application is installed and choose Search Now. After the drive has been searched, select the file that you copied to the NTFS partition and click the Continue button.

Windows NT Setup creates an icon in the Applications group for the program.  Double-click the icon to start the application. You will receive the following error message:

Application Execution Error

Cannot find File F:\dir (or one of its components); check to ensure the path and filename are correct and that all required libraries are available.

 Choose the OK button to clear the error message.</li></ol>

RESOLUTION
If the application is on a FAT partition, the directory must be renamed to remove any illegal MS-DOS characters, such as spaces.

If the application is on an NTFS partition, select the icon in the Applications group and from the File menu, choose Properties. On the command line, place quotation marks around the entire line and choose OK. The icon should now be able to open the application.

STATUS
Microsoft has confirmed this to be a problem in Windows NT version 3.1 and Windows NT Advanced Server version 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: prodnt

Keywords : kbsetup

Issue type :

Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW310 kbWinNTSsearch kbWinNTS310 kbWinNTAdvSerSearch kbWinNTAdvServ310 kbWinNTS310xsearch kbWinNT310xSearch kbWinNTW310Search