...using Windows 7...
I have a sqlserver.exe.config file that needs to get copied to the SQL Server BINN directory on my local machine (for the SQLExpress instance).
I can't assume the location, so I poked around in the registry and found
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SQLEXPRESS\Setup "sqlpath"
So in a CMD I would like to get the value of that and then copy the file to that place. The reason I need to do it in CMD is because this should be in a post-build event. Can anyone recommend how to do this with REG or anything else?
Thanks.