Microsoft KB Archive/168794: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
 
Line 26: Line 26:
<blockquote><div class="ERRORMESSAGE">
<blockquote><div class="ERRORMESSAGE">


Cannot import <filename&gt;.reg: Error opening the file. There may be a disk or file system error.
Cannot import <filename>.reg: Error opening the file. There may be a disk or file system error.


</div></blockquote>
</div></blockquote>
Line 58: Line 58:
A batch file for importing a .reg file might look like this:
A batch file for importing a .reg file might look like this:


<blockquote>start regedit <filename&gt;.reg</blockquote>
<blockquote>start regedit <filename>.reg</blockquote>
Keywords : kbenv kberrmsg win95<br />
Keywords : kbenv kberrmsg win95<br />
Issue type :<br />
Issue type :<br />

Latest revision as of 20:40, 20 July 2020

Disk or File System Error Message Importing Registry File

Q168794



The information in this article applies to:


  • Microsoft Windows 95





SYMPTOMS

When you try to import a registry (.reg) file by using a batch (.bat) file, you may receive the following error message:

Cannot import <filename>.reg: Error opening the file. There may be a disk or file system error.



CAUSE

The .bat file is not in the same folder as the .reg file.



RESOLUTION

To resolve this issue, use either of the following methods:

Method 1

Move the .bat file to the folder that contains the .reg file.

Method 2

Move the .reg file to the folder that contains the .bat file.



MORE INFORMATION

A batch file for importing a .reg file might look like this:

start regedit <filename>.reg

Keywords : kbenv kberrmsg win95
Issue type :
Technology : kbWin95search kbWin95


Last Reviewed: December 15, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.