PDA

View Full Version : how i send MyFile.reg to the registry without popup on click or in show


melissa
03-22-2007, 09:58 AM
hi everyone

can you help me how i send reg file ( Myfile.reg ) to the registry without

popup , i mean without asking me to accept or no .

example : i press button i send reg file to the registry

or i send it on show

i asked you this question before and bule gave me this code :

regedit /s myfile.reg

and mwreyf1 gave me this :

Or better yet, go to your script window and look at the bottom buttons.

One of them is "Advanced"

In there you will find "Import .REG file" and "Import Registry values".

the problem is i don`t know where i write this code ( regedit /s myfile.reg )

ans as mwreyf1 said , i tryed that but is not working

please can you help me for that



thank you

bule
03-22-2007, 10:22 AM
You've could ask this in the previous thread:
File.Run("regedit", "/S myfile.reg", "", SW_SHOWNORMAL, false);

melissa
03-22-2007, 11:28 AM
thank you , thank you ,thank you bule