<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Résolu.</font></div>
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Utiliser la fonction "startup(1)" pour récupérer le path demarrage XP et seven.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>informatique écrit:</b></font></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">afin d'y coller un raccourci, je cherche à joindre le dossier "démarrage" all users de XP dans une variable.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Mais ça ne fonctionne pas à cause du "é" de Démarrage.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Pas de soucis avec W7 puisqu'il y a les alias en anglais, mais pas pour XP.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">J'ai essayé :</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">racc_demarrage=makepath(start_menu(common=1),'Programmes','Démarrage')</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">racc_demarrage='C:\\Documents and Settings\\All Users\\Menu Démarrer\\Programmes\\Démarrage'</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Mais à chaque fois j'ai une erreur d'encodage :</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Comment utiliser ou joindre le dossier "Démarrage" de XP fr en python ?</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci.</font></span></div>
<br />
<br />
<br />
</body>
</html>