I'm trying to run a registry file silently in Windows 8 64 bit via the code given below in batch file but it doesn't work and when I run the registry file manually it works fine! Also note that it's working in Windows 7 and Windows XP! I just go this error after I installed Windows 8 64 Bit!
@echo off
regedit /s abc.reg
This is how I run the registry file via batch file! Let me know if anyone can solve this issue!
P.S: I've tried running the batch file with Admin Privileges but no luck!
Solved the issue by locating to the Path of the file.
@echo off
SET myPath="%CD%\abc.reg"
regedit /s %myPath%