Etat du script: Fonctionnel
Présentation:
Le script:
'Redirection du dossier "Mes images"
'Version 0.1 20100728 by Clockover
'Variables de configuration
strPath = "\\srv\partage"
Set WshShell = wscript.CreateObject("Wscript.Shell")
varTest = WshShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My Pictures")
if varTest = strPath then
msgbox "Debug: Redirection non nécessaire"
else
msgbox "Debug: Redirection effectuée"
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My Pictures", strPath
end if
TODO Liste:
Historique:

Version 0.1 (2010/07/28)Page générée en 0.006 secondes