Some time ago a guest, Rick911, posted the following query & a comment that he had solved the problem with another application but no details.
I have the same problem and am desperately looking for a solution. Mike.
Can anyone tell me how to use the arrow keys to move the cursor in a DOS program such as edit.com?
None of the following will move the cursor on my machine:
Press Left
Press Up
Press Right
Press Down
I know it is getting to the correct window, because the following works:
Press Enter
Press Tab
Press Backspace
I have a (nonmaximized) "DOS-Prompt - EDIT" window open at runtime. There are a few blank lines above and below where the cursor is, and I can move the cursor freely with the arrow keys while in edit.
Script:
let>SK_DELAY=10
SetFocus>MS-DOS Prompt - EDIT
Let>WW_TIMEOUT=5
CapsOff
Press Down
Like I say, if i replace "Press Down" with "Press Enter", the enter happens.
Macro for Dos program
Moderators: Dorian (MJT support), JRL
While this seems to be a challenge, I asked myself: Is it necessary to use edit.com to edit a file? I guess NO. Parsing a file could be done without any user interface. To change a files content as well.
Stepping from the left to the right, or up and down (unless in a gym) won't make any sense. So I'd ask you: "What task d'ya really want to accomplish" ?
Stepping from the left to the right, or up and down (unless in a gym) won't make any sense. So I'd ask you: "What task d'ya really want to accomplish" ?