there is a backup folder
Shell (sWinRarAppPath & " A -ep -df " & folderForMails & strName & ".rar " & strFolder) The variable strFolder contains the name of the folder with spaces. you need the shell to get the "folder name"
I try to do so, nothing happens, because closes the variable. As a result, in this place displays & strFolder &.
Shell (sWinRarAppPath & " A -ep -df " & folderForMails & strName & ".rar " & """ & strFolder & """)