|Hi, I'm trying to associate a type of file to an app from a batch file using reg add command:|
reg add hklm\software\xxx /ve /t reg_sz /d ""%cd%\prog.exe" "%1""
but it doesn't write in the registry exactly what I want.I think something is wrong in the /d switch! can you
PS:I want something like this to be written in the registry but only using the reg add command:
""="\"C:\\Program Files\\app.exe\" \"%1\""
I wrote a script that creates a reg file on-the-fly, and it works,but I need to do the same only using the reg
add command...help me please!