Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pow1983
Starting Member
3 Posts |
Posted - 2010-11-04 : 18:39:16
|
Hi All,I am creating a custom install command, using the following page as a guide:http://msdn.microsoft.com/en-us/library/ms144259.aspxIm stuck with one parameter /SQLSYSADMINACCOUNTSThe syntax is /SQLSYSADMINACCOUNTS="<DomainName\UserName>" however, im in a situation where the machine name will not be the same but the username will be.Is there a way I can install for example using some kind of environment variable e.g. <.\Username> or <%COMPUTERNAME%\Username>Many Thanks---Rich |
|
pow1983
Starting Member
3 Posts |
Posted - 2010-11-09 : 10:39:46
|
Just so everyone else knows <.\Username> works perfectly. ---Rich |
 |
|
|
|
|