Bonjour,
J'ai un soucis avec un paquet. En effet j'ai besoin de copier un fichier de config dans C:\Windows\System32\config\systemprofile , mais impossible. J'ai essayé avec la commande "filecopyto()" mais sans résultat pourtant ça fonctionne si je copie le fichier juste dans le C:, il y a surement un problème de droit.
Quelqu'un aurait une idée?
Cdlt,
[ http://www.univ-valenciennes.fr/ ] Luc Duriez Direction des Systèmes d'Information Pôle Infrastructure de Services et Réseau ☎ 03.27.51.11.24 UVHC Campus du Mont Houy 59313 Valenciennes Cedex 9 FRANCE
|Problème de redirection transparente des répertoires windows en mode 32 bits sur un os 64 bits
def install():|| || with disable_file_system_redirection():|| ||filecopyto('monfichier',makepath(system32,'config','systemprofile'))|| | Hubert
Le 06/09/2017 à 15:41, Luc Duriez a écrit :
Bonjour,
J'ai un soucis avec un paquet. En effet j'ai besoin de copier un fichier de config dans C:\Windows\System32\config\systemprofile , mais impossible. J'ai essayé avec la commande "filecopyto()" mais sans résultat pourtant ça fonctionne si je copie le fichier juste dans le C:, il y a surement un problème de droit.
Quelqu'un aurait une idée?
Cdlt,
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Super, ça fonctionne très bien, merci
[ http://www.univ-valenciennes.fr/ ] Luc Duriez Direction des Systèmes d'Information Pôle Infrastructure de Services et Réseau ☎ 03.27.51.11.24 UVHC Campus du Mont Houy 59313 Valenciennes Cedex 9 FRANCE
| De: "Hubert TOUVET" htouvet@tranquil.it | À: "wapt" wapt@lists.tranquil.it | Envoyé: Mercredi 6 Septembre 2017 15:56:59 | Objet: Re: [Wapt] Copie de fichier dans System32
| Problème de redirection transparente des répertoires windows en mode 32 bits sur | un os 64 bits
| def install(): | with disable_file_system_redirection(): | filecopyto('monfichier',makepath(system32,'config','systemprofile'))
| Hubert
| Le 06/09/2017 à 15:41, Luc Duriez a écrit :
|| Bonjour,
|| J'ai un soucis avec un paquet. || En effet j'ai besoin de copier un fichier de config dans || C:\Windows\System32\config\systemprofile , mais impossible. || J'ai essayé avec la commande "filecopyto()" mais sans résultat pourtant ça || fonctionne si je copie le fichier juste dans le C:, il y a surement un || problème de droit.
|| Quelqu'un aurait une idée?
|| Cdlt,
|| ___________________________________________ || WAPT mailing list [ mailto:WAPT@lists.tranquil.it | WAPT@lists.tranquil.it ] [ || http://lists.tranquil.it/listinfo/wapt | http://lists.tranquil.it/listinfo/wapt || ]