home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q104 / 6 / 58.TXT < prev    next >
Encoding:
Text File  |  1993-09-29  |  2.7 KB  |  76 lines

  1. DOCUMENT:Q104658  28-SEP-1993  [W_NT]
  2. TITLE   :UNC Names in Icon Properties May Cause File Not Found Errors
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SYMPTOMS
  16. ========
  17.  
  18. If you create an icon which uses a Universal Naming Convention (UNC)
  19. path name for a program in combination with a data file, error
  20. messages indicating the data file could not be found may appear when
  21. you choose it.
  22.  
  23. Steps to Reproduce Problem
  24. --------------------------
  25.  
  26. 1. On computer 1, use Write to save a file called TEST.WRI. Place this
  27.    file in a shared directory, such as \TEST. Also copy WRITE.EXE into
  28.    the TEST directory.
  29.  
  30. 2. On computer 2, create an icon with the following Properties:
  31.  
  32.    Description: Test
  33.    Command Line: \\MACHINE1\TEST\WRITE.EXE TEST.WRI
  34.  
  35. When you try to use this icon to open Write and the TEST.WRI file, you
  36. will receive a "File not found" error message even though the file is
  37. in the TEST directory.
  38.  
  39. This error message does not occur if a standard network redirection
  40. (created with File Manager) is used, such as X:\WRITE.EXE TEST.WRI.
  41.  
  42. CAUSE
  43. =====
  44.  
  45. Once the network connection is made with the UNC name and the
  46. application is loaded, the network connection is broken. Because the
  47. network connection no longer exists, the data file cannot be found.
  48. This behavior is by design.
  49.  
  50. RESOLUTION
  51. ==========
  52.  
  53. To prevent error messages using UNC names in icons, also specify a
  54. UNC name for the location of the data file to be loaded, such as:
  55.  
  56.    Command Line: \\MACHINE1\TEST\WRITE.EXE \\MACHINE1\TEST\TEST.WRI
  57.  
  58. Additional reference words: 3.10 W_NTAS
  59. KBCategory:
  60. KBSubcategory: winnt
  61.  
  62. =============================================================================
  63.  
  64. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  65. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  66. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  67. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  68. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  69. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  70. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  71. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  72. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  73. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  74. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  75.  
  76. Copyright Microsoft Corporation 1993.