Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL command line arguments in shortcut

Status
Not open for further replies.

MangroBongacello

Programmer
Mar 20, 2001
189
SI
Hello!

This is my problem:
If I execute command like this from shell:

shell>mysql -uuser -ppassword < c:\MyFile.sql

it executes ok, but if I put such command into a desktop shortcut on a windows machine, it does not (instead help is displayed for command-line arguments).

How do I make it work?
Thank you very much!
 
You probably need to put that command into a batch script, and make a shortcut to that script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top