- Set the file Path and name into a variable.
- Escape the backslash characters by replacing """ with "\"
- Run the following python script
- Note that the file path and name must be placed within double quotes to avoid syntax error.
- The resulting file size will be in bytes.
- To convert the file size to MB, do a division by 1024.