# Incorrect path for SQLCmd Location for SQL 2005 installed

**URL:** https://www.finalbuilder.com/forums/t/incorrect-path-for-sqlcmd-location-for-sql-2005-installed/4653
**Category:** Bugs
**Created:** [May 6, 2008, 10:27am UTC](https://www.finalbuilder.com/forums/t/incorrect-path-for-sqlcmd-location-for-sql-2005-installed/4653 "2008-05-06T10:27:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pgun](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@pgun](https://www.finalbuilder.com/forums/u/pgun)
#### Post date: [May 6, 2008, 10:27am UTC](https://www.finalbuilder.com/forums/t/incorrect-path-for-sqlcmd-location-for-sql-2005-installed/4653/1 "2008-05-06T10:27:31Z")

</div>

On a PC with SQL Server 2000 and 2005 installed the default path for SQLCmd Location (Under Tools/Options/Other/SQL Server) is

C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqlcmd.exe

which does not exist. The correct path for sqlcmd is

C:\Program Files\Microsoft SQL Server\90\Tools\Binn\sqlcmd.exe

It would be good if the Automise and Automise runner setup programs could autodect the version of SQL Server and put in the correct default path.

The paths for ISQL Location and OSQL Location are correct

Regards

&nbsp;

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [May 7, 2008, 2:06am UTC](https://www.finalbuilder.com/forums/t/incorrect-path-for-sqlcmd-location-for-sql-2005-installed/4653/2 "2008-05-07T02:06:44Z")

</div>

Thanks Paul - looks like the auto detection code is not quite right, will investigate.
