user name - TechRepublic
General discussion
December 30, 2003 at 09:28 AM
techmichelle

user name

by techmichelle . Updated 22 years, 6 months ago

Hi.

I would like to create a batch file to delete an icon from the users desktop.

My current batch file removes the icon from “All Users”
sample line for NT
del c:\winnt\profiles\”all users”\desktop\old.lnk

so I think the new line should read
del c:\winnt\profiles\(ID USER IS LOGGED IN AS)\desktop\old.lnk

for both NT/2000/XP. I do realize I may need to created a different line for each operating system.

Thanks!
Michelle

This discussion is locked

All Comments