forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Read CMD window not executed by VDS...

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Thu Sep 13, 2007 12:55 am    Post subject: Read CMD window not executed by VDS... Reply with quote

Anyone know how to read to contents (or current line) from a command window that wasn't opened with VDS?

I'm running a third party script that occassionally uses Xcopy.exe

The problem is that sometimes it hangs when it doesn't know if the target is a file or directory and wants you to enter an "F = File" or "D = Directory". I thought about checking for the existence of a "C:\Windows\system32\xcopy.exe" window and then send the proper key but, I can't know the proper key without knowing the whole question.

Generaly, the script in question locks up on the file in which case the answer would be "F". The problem is that I don't want to continually send the "F" key to every xcopy.exe window that opens up.

Any ideas???
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group