HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to fix Registry error "Cannot import... There may be a disk or file system error"

69,290 views November 3, 2014 3:11

Watch on YouTube
Channelfurulevi

Description from the creator

Problem:
When calling a registry file (.reg) from within a batch file (.bat), the following error message is displayed: "Cannot import filename.reg: Error openingthe file. There may be a disk or file system error."

Solution:
1. Eliminate spaces from the path of the registry file (example: instead of "C:\folder name\file name.reg" use "C:\folder_name\file_name.reg")
2. Either use an absolute path for the registry file inside the batch file, or write %~dp0 in front of the registry file inside the batch file to use the current directory as path.

About this tutorial

furulevi published this 3:11 video tutorial on November 3, 2014. It has been watched 69,290 times on YouTube.

Channel
furulevi
Duration
3:11
Published
November 3, 2014
Views
69,290
Likes
174

Tags

Share

This tutorial in other languages