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.
Problem using short path names with Send Keystrokes
-
pyvorn1600
- Posts: 1
- Joined: Fri Jun 19, 2026 8:27 am
Re: Problem using short path names with Send Keystrokes
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
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