How to run mysqldump from windows command prompt I'm using non-install version of mysql5.1 on Windows.
I have placed "mysql" folder under c:\ and it seems to work fine.

But when I try C:\&gt;mysql\bin\mysqldump.exe -u root -p mydatabase &gt; c:\&gt;mydatabase.sql from command prompt it doesn't work and gives back only Access Denied.
(It doesn't even ask to enter the password.)

How can I use mysqldump from windows command prompt?
it permissions conflict when try create file - 


  c:>mydatabase.sql


create new folder c:\backup, change string to 

C:\&gt;mysql\bin\mysqldump.exe -u root -p mydatabase &gt; c:\backup\mydatabase.sql


I think it just mistake when type there - 

c:\&gt;mydatabase.sql


it is also not correct, correct: 

c:\mydatabase.sql


correct, but still will return error, right way - create folder