Hi All,
I am trying to run the following syntax on a Windows NT Box.
mysql -h host -u user -pPassword < Scriptfile
If this command is entered into a console window all is well (it works
fine).
This will also WORK if it is entered in a batch file and then run in the
batch file.
This command need needs to be scheduled and run unattended.
For security reasons I wanted to put the "mysql -h host -u user -pPassword"
part
of the command in a compiled file.
So I've written a small VB app to shell the command out.
It fails when the "< Scriptfile" portion is added to the command.
The above syntax will also fail to run from Windows "Run" box.
Fail, Fails = Can see the console window open and the help text scroll
through.
It appears, possibly to have to do with the "<" character ????
Any help would be appreciated.
Thanks,
Jeff Jeffries
| Thread |
|---|
| • Problem Running a Script File | Jeff Jeffries | 15 Jul |