KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q77458: MS-DOS Shell Leaves Temporary Files on Hard Drive

Article: Q77458
Product(s): Microsoft Disk Operating System
Version(s): MS-DOS:5.0,5.0a,6.0
Operating System(s): 
Keyword(s): 
Last Modified: 22-NOV-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft MS-DOS operating system versions 5.0, 5.0a, 6.0 
-------------------------------------------------------------------------------

SUMMARY
=======

Temporary files remain in the designated temporary directory when the computer
is shut off or rebooted while applications are still active in MS-DOS Shell. If
Shell is not active, these temporary files may be deleted.

MORE INFORMATION
================

The names of the temporary files depend on the Shell setup. If Task Swapper is
enabled,the temporary files are named:

  XXXXDOSC.BAT

where XXXX is a system generated hexadecimal string.

The number of temporary files remaining depends on the number of tasks running at
the time of the power down or reboot. These files must be deleted manually.

If Task Swapper is not enabled, the following two temporary files remain:

  DOSSHELL.SWP
  C3BDOSCM.BAT

These files are deleted the next time Shell is invoked.

In both cases, the temporary files are located in either the directory specified
in the AUTOEXEC.BAT

  set temp=[drive spec]\[directory name]

line or in the DOS directory if SET TEMP=[drive spec]\[directory name] is not
used.

The contents of the file C3BDOSCM.BAT or XXXXDOSC.BAT are the commands used to
invoke the application. For example, if MS-DOS Editor was invoked for the file
AUTOEXEC.BAT, the contents of the generated batch file would be as follows:

  @EDIT AUTOEXEC.BAT


Additional query words: 5.00 dos shell dosshell bat batch 6.00 5.00a

======================================================================
Keywords          :  
Technology        : kbMSDOSSearch kbMSDOS600 kbMSDOS500 kbMSDOS500a
Version           : MS-DOS:5.0,5.0a,6.0

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.