Shell help

  • 14 years ago

    Hi,

     

    I’m trying to backup a mysql database. What I have to do to backup the database is go to the mysql command line, login and type this “mysqldump VideoDB > 'C:\VideoDBBkp.dmp'”

     

    That command calls mysqldump.exe that is located in here “C:\Program Files\MySQL\MySQL Server 5.0\bin”

     

    I was trying the next command using the shell method in visual basic but it does nothing.

     

    Shell("C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqldump.exe VideoDB > 'C:\VideoDBBkp.dmp'")

     

    I need help. I didn’t even know of the existence of the shell method.Time [O]

     

    I don't even know if what I’m saying in here is right.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perl - The only language that looks the same before and after RSA encryption.” - Keith Bostic