by the way i have tried the restore, it worked for the same instance but if i backup master from an instance say 'ins1' then i install another instance named 'ins2' when i tried the script to restore in a single user mode it still point to the old path of 'ins1' and i cant start the server.
below is the script :
C:\b6ins\mssql$b6\binn>sqlservr.exe -d c:\b6data\mssql$b6\data\master.mdf -l c:\b6datamssql$b6\data\mastlog.ldf -e c:\b6data\mssql$b6\log\errorlog -m -s b6
again, this worked when restore to same instance but did not if to another instance
tnx