wapt 1.6.2.7
I need to uninstall DWG TrueView 2018 software, but the directory contains special characters
I put this at the beginning, then
Code: Select all
# -*- coding: utf-8 -*-Code: Select all
def uninstall():
print('uninstalling dwg trueview 2018')
run(u'"c:\Program Files\Autodesk\DWG TrueView 2018 - Français (French)\Setup\fr-FR\Setup\Setup.exe".decode("utf-8").encode("cp1252") /P {28B89EEF-1028-040C-0100-CF3F3A09B77D} /R AOEM /language fr-FR /q')here is the error
Code: Select all
CalledProcessErrorOutput: Command '"c:\\Program Files\\Autodesk\\DWG TrueView 2018 - Fran\xc3\xa7ais (French)\\Setup\x0cr-FR\\Setup\\Setup.exe" /P {28B89EEF-1028-040C-0100-CF3F3A09B77D} /R AOEM /language fr-FR /q' returned non-zero exit status 1.
Output:Le chemin d'accŠs sp‚cifi‚ est introuvable.I have the same problem
Any ideas on the syntax?
I used this post as a guide: viewtopic.php?t=29
