March 10th, 2003, 11:59 PM
run dos command in Windows XP
when I was trying to run mysqldump command as follows ,it was working in the Windows 2000.But it was not working in the Windows Xp.Why is that??Any suggestions???
set wsh = createobject("WScript.Shell")
wsh.Run "cmd /c c:\mysql\bin\mysqldump -h localhost -u xxx -pxxxx XXXX > C:\test.sql
March 21st, 2003, 12:56 AM
stupid question... but ...
is the drive you are referencing C:\ (only reason I ask is cos my machine is partitioned)
Does the file "test.sql" exist in the C: root (C:\) or exist as part of the path.
If not try changing your directory to the right directory (folder) and then run "test.sql"
I know these seem like simple answers, and you've probably thought of them already, but they are the most common reasons files don't run.
If you've checked all these try ;kbhowto]"Microsoft Knowledge Base
It sounds more like a system environment thing (such as user permission to run commands etc)
How can I soar like an eagle when
I'm flying with turkey's?