Solved

Default path for ISQL

Posted on 2000-05-10
3
1,145 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
Comment Utility
You can not change this :(
ISQL always uses by default the directory ISQL was run from.
0
 
LVL 1

Author Comment

by:Jsan
Comment Utility
Can I use a shortcut from a different folder?
0
 
LVL 1

Accepted Solution

by:
manchula earned 50 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

771 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

15 Experts available now in Live!

Get 1:1 Help Now