Jump to content

controlsend and preserve case


lhk69
 Share

Recommended Posts

Hi.

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...