Microsoft KB Archive/103168: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - ">" to ">")
 
(2 intermediate revisions by the same user not shown)
Line 64: Line 64:
=== Command sequence: ===
=== Command sequence: ===


<pre class="codesample">  net use z: \\&lt;server&gt;\&lt;share&gt;     ; Share the appropriate
<pre class="codesample">  net use z: \\<server>\<share>     ; Share the appropriate
                                       location
                                       location
   z:                    ; Select default drive
   z:                    ; Select default drive
   cd &lt;path&gt;               ; Select appropriate location
   cd <path>               ; Select appropriate location
   qbasic              ; Start QBASIC from MS-DOS
   qbasic              ; Start QBASIC from MS-DOS
   enter : kill &quot;z:&lt;file&gt;&quot;     ; Enter this line in the
   enter : kill "z:<file>"     ; Enter this line in the
                                 interpreter
                                 interpreter
   select : shift + f5          ; Start execution of the code
   select : shift + f5          ; Start execution of the code
                 </pre>
                 </pre>
This deletes &lt;file&gt; from the shared location.<br />
This deletes <file> from the shared location.<br />
<br />
<br />
Repeat this command for each file with a reserved name.
Repeat this command for each file with a reserved name.

Latest revision as of 10:16, 20 July 2020

Knowledge Base


Article ID: 103168

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft LAN Manager 2.0 Standard Edition
  • Microsoft LAN Manager 2.1 Standard Edition
  • Microsoft LAN Manager 2.1a
  • Microsoft LAN Manager 2.2 Standard Edition



This article was previously published under Q103168

SYMPTOMS

Files with reserved device names (LPTx, COMx, PRN, etc.) exist on your LAN Manager disk volumes. They cause problems when you are setting access privileges or creating backups, but you cannot get rid of them using File Manager and/or standard commands such as DEL.

CAUSE

These filenames usually are created when an application opens a file instead of a device.

RESOLUTION

You can't remove these files using OS/2, but you can delete them using an MS-DOS workstation and the QBASIC interpreter from MS-DOS 5.0 or later.

Command sequence:

   net use z: \\<server>\<share>     ; Share the appropriate
                                      location
  z:                    ; Select default drive
  cd <path>               ; Select appropriate location
  qbasic               ; Start QBASIC from MS-DOS
  enter : kill "z:<file>"     ; Enter this line in the
                                interpreter
  select : shift + f5          ; Start execution of the code
                

This deletes <file> from the shared location.

Repeat this command for each file with a reserved name.


Additional query words: prn, lpt, com, dev 2.00 2.10 2.10a 2.20 2.2 2.1 2.1a

Keywords: KB103168