SYSEDIT Err Msg: Cannot Open This File

Last reviewed: November 23, 1994
Article ID: Q103167
The information in this article applies to:
  • Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11
  • Microsoft Windows for Workgroups versions 3.1, 3.11

NOTE: SYSEDIT is an undocumented text editor that ships with Microsoft Windows. Microsoft Product Support Services does not support this tool.

SYMPTOMS

If you run SYSEDIT in Windows, you may encounter one of the following error messages:

  • Cannot open this file (in Windows 3.1 and Windows for Workgroups 3.1)

    -or-

  • Can't open the file: <filename> (in Windows 3.0 and 3.0a)

Also, it is possible that the AUTOEXEC.BAT and CONFIG.SYS files displayed may not be the ones that are actually used to boot your machine.

CAUSE

This problem can be caused by the following:

  • You are booting from a drive other than C.
  • Your files were saved in format other than ASCII.
  • One or more of your files is too large to be edited in SYSEDIT. For example, you may receive errors saying AUTOEXEC.BAT, CONFIG.SYS, or WIN.INI cannot be opened if your WIN.INI file is larger than 40 kilobytes.

RESOLUTION

If you boot your machine from a drive other than C, edit the appropriate AUTOEXEC.BAT and the CONFIG.SYS files using a text editor other than SYSEDIT (for example, Microsoft Windows Notepad).

If your boot files are on C:

  • Ensure the files are saved in ASCII format.

    -and-

  • Ensure the files are not too large to be edited in SYSEDIT.

MORE INFORMATION

SYSEDIT looks only in the root directory of drive C when trying to open the AUTOEXEC.BAT and CONFIG.SYS files. If you boot your machine from a floppy disk, or if the CONFIG.SYS file contains a drive letter swapping program (for example, SWAP.COM from STAC Electronics), SYSEDIT may generate one of the above error messages or display the incorrect AUTOEXEC.BAT and CONFIG.SYS files.


KBCategory: kbtool kbdisplay kberrmsg
KBSubcategory: win30 win31 wfw wfwg
Additional reference words: 3.00 3.0 3.0a 3.00a 3.10 3.1 syseditor
sysedit.exe ANSI editor system configuration editor


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.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.