I need to replace .url icons on remote computers with a new icon. Some of the icons are placed in user/desktop profiles and not placed in the all users/desktop profile. The script below will delete the .url from the all user's folder, but how do I delete the .url from a user's profile if the .url isn't in the all user's profile? There are too many users to add all of the profile names to the .bat file.
Is there something that I can replace "All Users" with so that every profile on that computer is included?
runas /user:xxxxx\administrator \\servername\xxxx\scripts\add_new_viawarp.bat
del "C:\Documents and Settings\All Users\Desktop\ViaWarp.url"
copy "\\servername\xxxxx\Via_Warp.url" "C:\Documents and Settings\All Users\Desktop\"