I have a .bat file that makes a call to a .reg file (something like: regedit mytest.reg). I run the .bat file as administrator but I get an error: "Cannot import mytest.reg: Error opening the file. There may be a disk or file system error."
However, if I open RegEdit (as administrator) first then File >> Import >> mytest.reg ... it successfully runs.
Any ideas?