I am tryint to use the Shell call to run something from within VB. Currently this is what I am trying to do:
Dim ID
ID = Shell("e:\mysql\bin\mysql <new.sql> errors.log"
For some reason this doesnt work. However, I know that the new.sql file is correct, because if I do it manually inside the command prompt everything works find..... However, when I try to make this call, the command prompt pops up, then closes by itself... Anyone know why this is happening??? could it be cause I have the "<" in the string??
Dim ID
ID = Shell("e:\mysql\bin\mysql <new.sql> errors.log"
For some reason this doesnt work. However, I know that the new.sql file is correct, because if I do it manually inside the command prompt everything works find..... However, when I try to make this call, the command prompt pops up, then closes by itself... Anyone know why this is happening??? could it be cause I have the "<" in the string??