Gator96100 / ProxSpace

Proxmark III develoment environment for Windows
269 stars 70 forks source link

Forward arguments from batch scripts to bash scripts #51

Closed wh201906 closed 11 months ago

wh201906 commented 1 year ago

Hi. Thank you for this great tool. For users who use terminal(cmd, powershell) on Windows, I think they might want to pass some arguments to the pm3 or pm3-flash-all script, which is called in corresponding xxx.bat. Adding a simple %* in the batch script forwards the arguments passed to the xxx.bat, and users can still open the pm3 by double clicking the batch file. I think there is no regression.

Gator96100 commented 11 months ago

I don't see a need for it. Calling the bat files from a terminal can be dangerous because the terminal might set an environment variable that can cause the client to not work.