From what I know, you need to
- put the SQL file name into double quotes - especially if the path contains spaces!
- include the
.sql
extension on the file name
Try this:
:r "C:\Documents and Settings\ZSmith\My Documents\Scripts\CreateDatabase.sql"
:r "C:\Documents and Settings\ZSmith\My Documents\Scripts\CreateTables.sql"