Problem using short path names with Send Keystrokes

Discuss RoboTask here
Post Reply
pyvorn1600
Posts: 1
Joined: Fri Jun 19, 2026 8:27 am

Problem using short path names with Send Keystrokes

Post by pyvorn1600 »

I'm having trouble using a short DOS-style path in RoboTask's Send Keystrokes action.

The command I'm trying to run is:

cd C:\PROGRA~2\Progress\WS_FTP~1

However, when the task executes, it seems to stop processing at the ~ character and the command ends up looking like:

cd "C:\PROGRA

which results in:

The system cannot find the path specified.

Has anyone else experienced this issue with Send Keystrokes? Is there a way to escape the ~ character, or is there a better method for changing to a directory that contains a short path name?

I'm currently using RoboTask 10.5.

Any suggestions would be appreciated.
Oleg
Site Admin
Posts: 3297
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Problem using short path names with Send Keystrokes

Post by Oleg »

Probably symbol "~" is one of special symbols
Use the string
cd C:\PROGRA+(`)2\Progress\WS_FTP+(`)1
instead of
cd C:\PROGRA~2\Progress\WS_FTP~1

It works
Oleg Yershov
Post Reply