AutoHotkey Community

It is currently May 26th, 2012, 5:28 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Firefox Profile Deleting
PostPosted: April 17th, 2009, 8:13 am 
Offline

Joined: August 8th, 2008, 7:26 pm
Posts: 117
Location: Raahe, Finland
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 17th, 2009, 8:33 am 
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%


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 20th, 2009, 4:52 am 
Offline

Joined: August 8th, 2008, 7:26 pm
Posts: 117
Location: Raahe, Finland
Thank you

_________________
Hezzu - excuse the english!


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: batto, Bing [Bot], mrhobbeys, MSN [Bot], Mtes, perlsmith and 66 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group