I downloaded an AdventureWorks 2012 LT Script from CodeProject, but when I try to run it it says:
Incorrect syntax was encountered while parsing :setvar.
There's nothing more than this:
:setvar SqlSamplesDatabasePath "C:\Program Files\...\DATA\";
:setvar SqlSamplesSourceDataPath "C:\Samples\...\";
And yes, I set the SQLCMD mode on.