Deleting a folder into application data folder during logon

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to delete a particular folder that a psyware maybe create into
APPLICATION DATA folder of user.

In which way I can do this action ?

Thank you in advance
 
Put a line in your logon script, with something like:

if exist "%userprofile%\Application Data\folder_to_delete" rmdir /s
"%userprofile%\Application Data\folder_to_delete"

Note that this should be on a single line!
And check the correct syntax on a test system!
 
Back
Top