Replies: 3 comments 3 replies
-
Parameters to windows batch scripts are denoted as %1 %2 %3 .... |
Beta Was this translation helpful? Give feedback.
-
I don't know of a way, but perhaps @dhylands will comment. I have a fork of |
Beta Was this translation helpful? Give feedback.
-
When you launch rshell.exe you pass it the command line, your environment, and a script of commands. The rshell docs don't mention using the environment or handling parameters, so you're left with modifying the script or, as Peter suggests, how its commands work. The first approach that comes to mind is: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, i am new here, so a big "Hi!" to all of you. Maybe you can even help a noob like me.
I am using rshell to manipulate my memory on a device running MicroPython. Since i often have to do the same things over and over again, i like to work with scripts like this:
rshell.exe -p <serieal_port> -f script.rsh
(yes, i am working with WIN)
Now i have the need to pass some parameter into the script. Is that possible?
I tried different things, but none worked, (e.g.
rshell.exe -p <serieal_port> -f script.rsh <parameter>
rshell.exe -p <serieal_port> -f 'script.rsh <parameter>'
rshell.exe -p <serieal_port> -f "script.rsh <parameter>"
). I also searched the web but didn't find anything helpful neither. So i wonder, if that is even a thing?
Thanks a lot for any help or explanation!
Beta Was this translation helpful? Give feedback.
All reactions