Wenn ich %AppData% mit /AllNTUserProfiles aufrufe sollte der Befehl auf alle userspezifischen Ordner angewandt werden. Alternativ müsste eine andere Variable definiert werden da im Moment %AppData% mit %CurrentAppData% gleich zu setzen ist. Das würde Klimmzüge wie hier z.B vermeiden:
wiki/userspace:vlc_2.0.2_mediaplayer
Aufgerufen wird:
Code: Alles auswählen
Files_vlcrc /AllNTUserProfile
[Files_vlcrc]
copy %scriptpath%\vlcrc %AppdataDir%\vlc
Code: Alles auswählen
[5] [Sep 26 10:41:56:546] [vlc] Execution of Files_vlcrc
[9] [Sep 26 10:41:56:546] [vlc] basekey : HKLM
[9] [Sep 26 10:41:56:546] [vlc] relkey : SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
[7] [Sep 26 10:41:56:546] [vlc] Registry started with redirection (32 Bit)
[9] [Sep 26 10:41:56:546] [vlc] Registry started with redirection (32 Bit)
[9] [Sep 26 10:41:56:546] [vlc] found profile reg entry for sid: S-1-5-18 and path: %systemroot%\system32\config\systemprofile
[9] [Sep 26 10:41:56:546] [vlc] Registry started with redirection (32 Bit)
[9] [Sep 26 10:41:56:546] [vlc] found profile reg entry for sid: S-1-5-19 and path: C:\Dokumente und Einstellungen\LocalService
[9] [Sep 26 10:41:56:546] [vlc] Registry started with redirection (32 Bit)
[9] [Sep 26 10:41:56:546] [vlc] found profile reg entry for sid: S-1-5-20 and path: C:\Dokumente und Einstellungen\NetworkService
[9] [Sep 26 10:41:56:546] [vlc] Registry started with redirection (32 Bit)
[9] [Sep 26 10:41:56:546] [vlc] found profile reg entry for sid: S-1-5-21-4135715309-943947407-4071189978-1030 and path: C:\Dokumente und Einstellungen\user
[9] [Sep 26 10:41:56:546] [vlc] Registry started with redirection (32 Bit)
[9] [Sep 26 10:41:56:546] [vlc] found profile reg entry for sid: S-1-5-21-4135715309-943947407-4071189978-500 and path: C:\Dokumente und Einstellungen\Administrator
[5] [Sep 26 10:41:56:546] [vlc] Make it for user directory: C:\Dokumente und Einstellungen\user\
[7] [Sep 26 10:41:56:546] [vlc] copy S:\vlc\vlcrc C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc
[6] [Sep 26 10:41:56:546] [vlc] path C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc created
[6] [Sep 26 10:41:56:546] [vlc] Copying S:\vlc\vlcrc -----> C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc
[5] [Sep 26 10:41:56:546] [vlc] 1 File(s) found
[6] [Sep 26 10:41:56:546] [vlc] Source S:\vlc\vlcrc
[6] [Sep 26 10:41:56:593] [vlc] S:\vlc\vlcrc copied to C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc\
[5] [Sep 26 10:41:56:609] [vlc] 1 File(s) treated
[5] [Sep 26 10:41:56:609] [vlc] Make it for user directory: C:\Dokumente und Einstellungen\Administrator\
[7] [Sep 26 10:41:56:609] [vlc] copy S:\vlc\vlcrc C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc
[6] [Sep 26 10:41:56:609] [vlc] Copying S:\vlc\vlcrc -----> C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc
[5] [Sep 26 10:41:56:609] [vlc] 1 File(s) found
[6] [Sep 26 10:41:56:609] [vlc] Source S:\vlc\vlcrc
[6] [Sep 26 10:41:56:609] [vlc] Info: Target C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc\vlcrc exists and shall be overwritten
[6] [Sep 26 10:41:56:625] [vlc] S:\vlc\vlcrc copied to C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc\
[5] [Sep 26 10:41:56:625] [vlc] 1 File(s) treated
[5] [Sep 26 10:41:56:625] [vlc] Make it for user directory: C:\Dokumente und Einstellungen\Default User\
[7] [Sep 26 10:41:56:625] [vlc] copy S:\vlc\vlcrc C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc
[6] [Sep 26 10:41:56:625] [vlc] Copying S:\vlc\vlcrc -----> C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc
[5] [Sep 26 10:41:56:625] [vlc] 1 File(s) found
[6] [Sep 26 10:41:56:625] [vlc] Source S:\vlc\vlcrc
[6] [Sep 26 10:41:56:625] [vlc] Info: Target C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc\vlcrc exists and shall be overwritten
[6] [Sep 26 10:41:56:640] [vlc] S:\vlc\vlcrc copied to C:\Dokumente und Einstellungen\LocalService\Anwendungsdaten\vlc\
[5] [Sep 26 10:41:56:640] [vlc] 1 File(s) treated