WindowsCEBeginner
WindowsCEBeginner

Reputation: 51

Add reg file via Command Line on Windows CE device

I want to create a bat file which imports an existing reg file. I tried already the "reg" tool - I get the error "cannot execue reg.exe". I can launch the "regeditor" via the cmd but it is no importing the reg if I append the filename to the command such as "regeditor filename". Indeed, I get no message. If i double click on the reg file in the explorere, then the reg file is imported.

Upvotes: 4

Views: 4758

Answers (1)

WindowsCEBeginner
WindowsCEBeginner

Reputation: 51

I foud the solution! Obviously, other command option letters are used in Windows CE (or on customized device which I use). I have to prefix the filname with the option "/I": regedit.exe /I filename

Upvotes: 1

Related Questions