hi, i've got a file that's called test.vbs. this is what's in it:

Set objShell = CreateObject("WScript.Shell")
Command = "mysql -u test -ptest -h localhost testdatabase < test.sql"
objShell.Run(Command)

i placed this file in the same folder as mysql.exe and now i want it to run "mysql -u test -ptest -h localhost testdatabase < test.sql" as a command. when i type it in msdos by hand it works perfectly but i can't get it to work in vbs, and that's what i really want.

greetz,

Rick