PC Review


Reply
Thread Tools Rate Thread

How can I vary which isql.exe is run?

 
 
Laurel
Guest
Posts: n/a
 
      21st May 2009
I have an isql.exe for sybase and one for sql server. When I enter ISQL as
a DOS command how does the system know which isql.exe to run? If I go to
the directory where one of them exists, and enter isql.exe at the dos
command, will it run the one in my directory?


 
Reply With Quote
 
 
 
 
Jose
Guest
Posts: n/a
 
      21st May 2009
On May 21, 2:23*pm, "Laurel" <FakeM...@Hotmail.com> wrote:
> I have an isql.exe for sybase and one for sql server. *When I enter ISQL as
> a DOS command how does the system know which isql.exe to run? *If I go to
> the directory where one of them exists, and enter isql.exe at the dos
> command, will it run the one in my directory?


If you run something from a DOS command, it will look in that
directory first, then start searching the PATH variable from the
beginning to the end. It till run the first isql.exe it finds.

Type PATH from your command window to see your path (which can be
adjusted).

You can make two different batch files to run either one from the same
folder, you can change to the right folder and run the right command
(s).

There is a fair amount of flexibility.

Jose
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
indents vary =?Utf-8?B?RG9uJ3QgbGV0IGl0IHNub3ch?= Microsoft Word Document Management 1 6th Nov 2007 10:21 PM
my mileage does vary Bernie Windows Vista General Discussion 3 2nd Aug 2006 12:55 AM
vary color bev Microsoft Excel Discussion 3 7th May 2004 04:34 PM
iSQL-Viewer 2.1.7 Beta - A JDBC 2.x database front-end. Gordon Darling Freeware 0 28th Jan 2004 08:11 PM
Vary by custom Ryan Moore Microsoft ASP .NET 3 27th Jan 2004 11:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.