[SOLVED] Deleting a directory in a user profile
Published: May 31, 2024 - 11:41
WAPT 2.5.4.15342 Enterprise under Ubuntu
Windows 11
Hello,
I'm trying to create a package that would delete a directory located here:
C:\Users\XXX\AppData\Local\Programs
I tried using "def session_setup():" and parameters to retrieve the user:
user_appdata()
user_local_appdata()
get_current_user()
But I consistently end up using the "system" account.
I don't think it's complicated, but I'm not very familiar with scripting under WAPT; I've thoroughly reviewed the documentation, but perhaps I'm doing it incorrectly.
Windows 11
Hello,
I'm trying to create a package that would delete a directory located here:
C:\Users\XXX\AppData\Local\Programs
I tried using "def session_setup():" and parameters to retrieve the user:
user_appdata()
user_local_appdata()
get_current_user()
But I consistently end up using the "system" account.
I don't think it's complicated, but I'm not very familiar with scripting under WAPT; I've thoroughly reviewed the documentation, but perhaps I'm doing it incorrectly.