| View previous topic :: View next topic |
| Author |
Message |
Hezzu
Joined: 08 Aug 2008 Posts: 117 Location: Raahe, Finland
|
Posted: Fri Apr 17, 2009 7:13 am Post subject: Firefox Profile Deleting |
|
|
I have a prob.
The computer that im using creates a firefox profile EVERYTIME I log in
so in about an day I have 6 profiles and only 30mb of space left on my comps
I want to keep one profile and delete the rest
they are in folder
C:\Documents and settings\%A_user%\Application data\Mozilla\Profiles\
and they are named like: "vj0ws4io.default"
(I want to keep "vj0ws4io.default" folder delete rest)
PS. Yes I know the search button exists just gimme someting I havent got the light pulp on my head on this just yet _________________ Hezzu - excuse the english! |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Apr 17, 2009 7:33 am Post subject: |
|
|
| Code: | MyPath := A_AppData "\Mozilla\Profiles"
MyFile := vj0ws4io.default
FileMove, %MyPath%\%MyFile%, %MyPath%\%MyFile%.bak
Run, cmd /c del /q %MyPath%\*.default,, Max
FileMove, %MyPath%\%MyFile%.bak, %MyPath%\%MyFile% |
|
|
| Back to top |
|
 |
Hezzu
Joined: 08 Aug 2008 Posts: 117 Location: Raahe, Finland
|
Posted: Mon Apr 20, 2009 3:52 am Post subject: |
|
|
Thank you _________________ Hezzu - excuse the english! |
|
| Back to top |
|
 |
|