Solved

Default path for ISQL

Posted on 2000-05-10
3
1,152 Views
Last Modified: 2012-08-13
I have just started using SQL server a few weeks ago.  How can I set the default path in ISQL for scripts?  Every time I go to open a script it defaults to C:\mssql\binn  I keep my scripts in a different folder, how can I change this default?  A registry setting or something?

Jsan
0
Comment
Question by:Jsan
3 Comments
 
LVL 8

Expert Comment

by:chigrik
ID: 2798551
You can not change this :(
ISQL always uses by default the directory ISQL was run from.
0
 
LVL 1

Author Comment

by:Jsan
ID: 2798607
Can I use a shortcut from a different folder?
0
 
LVL 1

Accepted Solution

by:
manchula earned 50 total points
ID: 2798666
Run isql from the folder, where you have the script files. You need not have to give path for either the isql exe file, or for your script files.

(When you install SQL Server, automatically, its Binn directory will be added to the Path variable.)

Hope this helps you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now