Jump to content
Sign in to follow this  
kodius

Help with apostrophe in variable

Recommended Posts

kodius

What do I need to wrap around my variable Malwarebytes' Anti-Malware --> Global Const $ProgramName = 'Malwarebytes' Anti-Malware' so that it sees that entire name Malwarebytes' Anti-Malware.

This program installs a desktop shortcut and my script is set to remove it towards the end of the install but I can't remember anymore what to wrap around the text so it ignores the apostrophe in the middle.

Share this post


Link to post
Share on other sites
Legacy99

$ProgramName = "Malwarebytes' Anti-Malware"

Edited by Legacy99

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×