wessexresins 0 Posted October 26, 2004 Hi, i'm trying to produce a short .exe file in notepad (with icon on desktop) to start/login to mysql. From the cmd window i type in the following: c:/mysql/bin/mysql -u root to login as root user. i've tried simply entering this line into notepad and saving as an .exe file. doesn't work though - get an error message. Can anyone help? Thanks Matt Share this post Link to post
felix 0 Posted October 26, 2004 If in Win2k/XP save it with the extention ".cmd" If in Win9x/Me save it with the extention ".bat" ".exe" files are binary and are not text based. Share this post Link to post