where i was wrong??
Nowhere. You did exactly what you were willing to do.
BUT 7z SFX modules are unable to launch .cmd files (only .exe), and they are unable to launch a .exe that is not inside the archive.
So, to launch your .cmd, you'll need to include in your archive a .exe that will launch it
search for "startx.exe" here, DL it, put it inside the 7z and modify the config.txt :
RunProgram="StartX.exe /WAIT /B \"bfr.cmd\""
StartX is a tool similar to the "start" command of cmd.exe. Little explanation :/WAIT
switch to make startx wait until the end of the .cmd execution (without this switch startx will return immediately and 7zSFX will delete everything before .cmd execution)/B
switch to run the .cmd in backgound, without any window visible (similar to CMDOW inside the batch, but the windows will not flash)\"
escape sequences for quotes, they must be present even if your batch file name doesn't have spaces
nota: i don't know if RunProgram= is case sensitive, so you should use the correct case...