Trying to create a bat file

RandomFool

Diamond Member
Dec 25, 2001
3,913
0
71
www.loofmodnar.com
Trying to create a bat file that will delete the googleEarth folder out of application data\google, but it needs to run for anyone who's logged in to the pc ie I don't know thier username. Is there a var or something i can use to get the username? My code is below. Thanks

cd\
cd C:\Documents and Settings\$username$\Application Data\Google
del /Q /F GoogleEarth

-Ryan