Sign in to follow this  
Followers 0

controlsend and preserve case

3 posts in this topic


I am trying to controlsend some commands to a hidden dos window.

ControlSend("C:\WINDOWS\system32\cmd.exe - ftp" ,"","","cd /export/home/ACSSS/LGTO/CHECK_SILO",1)

I have tried the 0 and 1 flag.

All other sommands sent are ok, as they are lowercase.

In either case, the text is all translated to lower case. I need to preserver case, as we all know, UNIX is unforgiving.

if I have the window visable, and do a regular "send" that works. BUT, this window must be hidden.

UNHIDDEN window works...........
WinWaitActive("C:\WINDOWS\system32\cmd.exe - ftp)"
Send("cd /export/home/ACSSS/LGTO/CHECK_SILO")

What am I missing?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0