SunQuest
           ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 10th, 2003, 11:59 PM
alawatta alawatta is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Sri Lanka
Posts: 1 alawatta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question 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???

dim wsh
set wsh = createobject("WScript.Shell")
wsh.Run "cmd /c c:\mysql\bin\mysqldump -h localhost -u xxx -pxxxx XXXX > C:\test.sql

Reply With Quote
  #2  
Old March 21st, 2003, 12:56 AM
mohecan mohecan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 212 mohecan User rank is Private First Class (20 - 50 Reputation Level)mohecan User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > run dos command in Windows XP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway