Help and Support
 

powered byLive Search

Disk or File System Error Message Importing Registry File

Retired KB ArticleThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Article ID:168794
Last Review:November 15, 2006
Revision:1.1
This article was previously published under Q168794
On This Page

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.

Back to the top

CAUSE

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

Back to the top

RESOLUTION

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

Back to the top

Method 1

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

Back to the top

Method 2

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

Back to the top

MORE INFORMATION

A batch file for importing a .reg file might look like this:
start regedit <filename>.reg

Back to the top


APPLIES TO
Microsoft Windows 95

Back to the top

Keywords: 
kbenv kberrmsg KB168794

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.