I have googled and I understand the need to double quotation marks in order to include them in a written string. I am writing a script that is creating a batch file that contains the command line syntax to extract
an encrypted 7z file. The string contains quite a few quotation marks that I need to be able to include in the string I am writing. The trouble I am having is that I either end up with too many quotation marks being written or the script finding errors on that line. I have attached a picture of the sub. Lines 100 and 101 contain the string I need to write exactly. I have not included any extra quotation marks at this point, so the line is now, how it needs to end up in the text file. There may be other ways to do this, but this is they way my boss wants me to do it, so any help with getting that line written would be appreciated.
![Name: script.PNG
Views: 22
Size: 21.9 KB]()
an encrypted 7z file. The string contains quite a few quotation marks that I need to be able to include in the string I am writing. The trouble I am having is that I either end up with too many quotation marks being written or the script finding errors on that line. I have attached a picture of the sub. Lines 100 and 101 contain the string I need to write exactly. I have not included any extra quotation marks at this point, so the line is now, how it needs to end up in the text file. There may be other ways to do this, but this is they way my boss wants me to do it, so any help with getting that line written would be appreciated.