Changing the location of the settings and snippet folders
Published 04 March 2013
By default, the SQL Prompt settings and snippet files are stored in:
To change the locations of these files so they aren't stored in your user profile:
- Open Registry Editor (regedit.exe).
- Navigate to the SQL Prompt registry key: HKEY_CURRENT_USER\Software\Red Gate\SQL Prompt <version number>
- Right-click the key and select New > String Value.
- Set the string name to Options Folder or Snippets Folder as appropriate.
- Right-click the string and select Modify to open the Edit String dialog.
- In the Value data box, type the path of the folder in which you want to store the files. You must specify an existing folder.
If you want to store existing snippet files in the new location, you will need to move them manually.