1
Vote

The syntax example in the CMD files contains incorrect paths.

description

The default example should be:
 
CreateAdventureWorks.cmd "." "C:\Program Files\Microsoft SQL Server\100\Tools\Samples\" "C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\"

comments

ReedMe wrote Jan 23, 2009 at 11:57 PM

Assigning to leilu for verification in the next weekly build.

wrote Feb 11, 2009 at 7:43 AM

Verfied on SR2(090206).
 
In file CreateAdventureWorks.cmd, it was fixed as:
CreateAdventureWorks.cmd "." "C:\Program Files\Microsoft SQL Server\100\Tools\Samples\" "C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\"
 
It might be betterif fixed as:
CreateAdventureWorks.cmd "." "%PROGRAMFILES%\Program Files\Microsoft SQL Server\100\Tools\Samples\" "%PROGRAMFILES%\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\"
 
This bug also repro in cmd DropAdventureWorks.cmd.

wrote Feb 11, 2009 at 7:49 AM

Mistook the path.
It might be betterif fixed as:
CreateAdventureWorks.cmd "." "%PROGRAMFILES%\Microsoft SQL Server\100\Tools\Samples\" "%PROGRAMFILES%\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\"

wrote Apr 7, 2009 at 2:32 AM

Verified on sample builds 090405
Repro on:DropAdventureWorks2008.cmd
DropAdventureWorks.cmd
DropAdventureWorksDW2008.cmdDropAdventureWorksDW.cmd
DropAdventureWorksLT2008.cmd
DropAdventureWorksLT.cmd