New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run DOS commands in Windows 10 - use cmd /c commands.. #473
Comments
Hi CK, the run step can only run commands that exist. Eg if you have a program.exe then the run step can run it. But DOS commands don't exist, there is no copy.exe or move.exe for example. They are all loaded in memory as part of the command prompt. So to access these commands, you can try -
|
Updated on typo above, should be cmd instead of command. Windows has moved away from command.com for a long time 😅 |
Tried
and
Yes, it worked! But only for path without spaces Tried the following, it didn't work:
No error message, but it shows the following:
Tried the following too:
Error message:
|
As walkthrough earlier, the run step uses a CasperJS function to spawn OS-level processes. It's coded to interpret space as a separator between parameters. Thus having quotes around the folder name will not work. The workaround is using the shorten Windows pathname which all Windows folder have. Eg 'Program Files' is 'progra~1' (first 6 characters of folder / file, followed by ~ and the running number depending on how many files with the same short name). That'll work! |
Hi Ck, |
Sorry @sheneeb I was away the past few months - tebelorg/RPA-Python#144 You can use something like below, the normal Windows command prompt commands to copy and move files -
|
Note that when the run step is used, the folder it runs the command is from tagui\src folder |
@kensoh, Tried to run a simple DOS command using TagUI in windows 10
It gives the error message:
Tried other DOS commands such as:
Same error message
For copy and move, I managed to have a workaround using the method you thought me earlier using phantomjs. However, would like to find out if TagUI can run DOS commands directly in Windows 10.
The text was updated successfully, but these errors were encountered: