To fix The folder path contains invalid character error, you can try the following:
Delete everything from the TEMP folder
If you’re getting an error message that says The folder path contains an invalid character in Program Files, you might want to delete all files and folders from the TEMP folder. To do that, follow these steps:
- Press Windows Key + R to open the Run window. Type "%appdata%" and then click OK.
- Navigate to
%USERPROFILE%AppDataLocalTemp
Note: You might have to go one folder up in order to access the Temp folder. - Delete everything from the Temp folder and try installing the software again.
Change Drive Letters for your CD or DVD drives
Sometimes The folder path contains invalid character in Program Files error can be caused by your DVD drive, and changing the drive letters may resolve the issue. To change the drive letters, follow these steps:
- Press Windows Key + S and type "Computer Management". Choose Computer Management from the list of results.
- Click Disk Management in the left pane. A list of your drives should appear in the right pane.
- Find your CD / DVD drive, right-click it and choose Change Drive Letter and Paths....
- Select the drive and click Remove. Make sure to remember the DVD drive letter, you’ll need it later.
- If you have multiple CD / DVD drives, repeat Steps 3 and 4 for all of them.
- Restart your computer.
- When your computer restarts, go to Computer Management again.
- Click Disk Management, and find your CD / DVD drive.
- Right-click and choose Change Drive Letters. Click Add.
- Now assign the same letter to your DVD drive that you removed in Step 4.
- Click OK to save the changes. If you have more DVD drives, you’ll have to repeat these steps for all of them.