Skip to content
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

SHIFT not working with %* in waarp-r66client.bat #75

Open
wefahakem opened this issue Aug 17, 2020 · 3 comments
Open

SHIFT not working with %* in waarp-r66client.bat #75

wefahakem opened this issue Aug 17, 2020 · 3 comments
Assignees

Comments

@wefahakem
Copy link

Problem is detected while executing send command on a windows machine.

@bcarlin bcarlin self-assigned this Aug 17, 2020
@bcarlin
Copy link
Member

bcarlin commented Aug 18, 2020

Thank you for reporting this issue.
This is indeed a packaging issue : Waarp R66 was tolerant with extraneous arguments (it ignored them silently), but now, it fails when it encounters one.

I'm looking for an acceptable solution.

@bcarlin bcarlin changed the title SHIFT not working with %* in waarp-c66client.bat SHIFT not working with %* in waarp-r66client.bat Aug 18, 2020
@wefahakem
Copy link
Author

Possible solution :
Add this block below the second SHIFT in .bat file

SET "_args=%*"
SET "_args=%_args:* =%"
SET "_args=%_args:* =%"

and replace %* in sub functions with %_args%

@bcarlin
Copy link
Member

bcarlin commented Sep 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants