I have added bat_fix_w7.reg as a resource file, with binary type, now when i run the code it gives me err
System cannot found the file specified, but when i checked my F: drive the file is there than why 2 line is generating err.
Code:My.Computer.FileSystem.WriteAllBytes("f:\FixBAT.reg", My.Resources.bat_fix_w7, 0) Process.Start("regedit /S f:\FixBAT.reg")
Also if possible can someone help, I want to add hex data to regedit.




Reply With Quote