Is there a variable for all users in Windows 7 / 8? For example, let's say every user on the PC has a specific folder on their desktop, and I'd like to delete all these folders at once via a command that can be executed through command prompt, is this possible?
A script has put a preferences file for our VPN client in each our users local AppData, and this makes the VPN client automatically put in an address when you start up the client. Problem is that this address is now outdated, and we use a new one. So I'd like to find a way to execute a command that deletes all these preferences.xml files for all our users.
I've tried Googling it, but I don't think there is a variable for all users. But thought I'd ask here to be sure. I had hoped something along the lines of 'del C:\users\%ALLUSERS%\AppData\Local\example\preferences.xml' would work, but it appears after Googling it there's no such thing.