Did a quick test with Robocopy:
So I think you better use the last one (remove trailing slash only) so that it will work with spaces in the folder names.
Code Select
robocopy "D:\scans\" "D:\testfolder\" --> error
robocopy D:\scans\ D:\testfolder\ --> ok
robocopy "D:\scans" "D:\testfolder" --> ok
So I think you better use the last one (remove trailing slash only) so that it will work with spaces in the folder names.