Hi..
can any one please tell me whats wrong with this code...
Open "C:\sample.bat" For Output As #1
Dim str As String
str = "mysql path\bin\mysqldump.exe --host=localhost --user=user --password=pass --database=dbase -r> c:\bck.sql"
Print #1, ComandoSh
Close 1
ProcId = Shell("C:\bck.bat", vbHide)
it only create a text file and bck.sql but it has no record at all.
im using mysql 5.1
thanks
|