Comments
2 comments
-
PRN is a reserved file name in DOS/Windows that references your printer, so I suspect that is the problem.
I would have though having the ".sqlpromptsnippet" extension would have prevented the problem, but I guess not.
There are a number of other reserved names, for example COM1, LPT1, etc. that can't be used. -
Wow, I guess I've just never tried to name something that. I just tried to create a file prn.txt and it did not work. Good catch!
Thanks!
Add comment
Please sign in to leave a comment.
SQL Prompt cannot save this snippet to the folder:
C:\ Users\<profile>\AppData\Local\Red Gate\SQL Prompt 4\Snippets
Check that the folder is not read-only, or that it has not been deleted or renamed.