Is there any command to start SQL Server Enterprise Manager from
the command prompt other than "SQL Server Enterprise Manager.MSC"
which cannot be called a short-cut.
Regards,
sasi.
Unless this IS an mmc snap-in there is no workaround for that. AFAIK
HTH, jens Suessmeyer.
|||sasiraj wrote on 20 Oct 2005 02:11:58 -0700:
> Is there any command to start SQL Server Enterprise Manager from
> the command prompt other than "SQL Server Enterprise Manager.MSC"
> which cannot be called a short-cut.
How about creating a batch file with a short name, and put
start "" "sql server enterprise manager.msc"
in it. The initial "" is there because start treats the first item as a
window title if it is enclosed in quotes, and you need to quote the msc
filename due to the spaces. This line will start EM and then the batch file
will immediately exit. Call it something like sqlem.cmd and put it somewhere
in your PATH (eg. c:\windows) and then you can run EM using just sqlem at
the command line.
Dan
No comments:
Post a Comment