Hi Neeraj,
Probably the issues lies with file names having spaces. The first folder parameter does not seem to work if you have spaces in it. I would suggest once trying to remove the space from the name of the source folder which is [d] and then try to execute the command and see if it works. The destination zip file can have spaces which is [c] and it seems to work.
The only limitation I am seeing is if you have a nested directory with a lot of spaces in between then renaming all such folders can be a hassle. If possible I would suggest copy it to a root directory or some path without spaces and then rename the file in case it has spaces within it. Once you are able to remove all the spaces you can pass that file path into this command as a part of the data item [d]
NOTE: Did multiple rounds of test around this and it seems even after using double quotes, single quotes and -f flag as well in this command, if the source file path has spaces around it then the command does not seem to work both manually and via automation as well.------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.