I have a variable with the below content
 echo $sourcePath
 "/My Data Folder"
I am passing this to a command which has a switch called --path
I tried passing this as
--path $sourcePath 
But the command does not seem to like it.
If I do this manually, it works
--path "/My Data Folder"
I tried enclosing these in " and ' but no luck there. How can I ensure the input to the --path switch is exact data contained in my $sourcePath variable including the double quotes? Thanks
 
    