473,404 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

how to access a folder that is randomly created by firefox

i m creating a app that can make backup of ur browser data, i m stucked for firefox, %APPDATA%\Mozilla\Firefox\Profiles\ - this is the address for all of your bookmarks and everything in %APPDATA%\Mozilla\Firefox\Profiles\ thr is a folder that is generated by firefox by a random string, its different on every comp, i wanna make the *randomly genrated folder* to a zip, i know how to make zip but i wanna know how can i do it without knowing the name of the folder...
please help me, i can post the code here if anyone want..

Edit:
also if anyone can tell me, plz tell whr are bookmarks, history and everything is saved for IE, Google Chrome, Flock, Safari, Konqueror, Epiphany, Maxthong, Avast and Opera

also, when my app starts, it checks which browsers u have by looping every entry in the add/remove in control panel (through registry) but thr is something wrong, all browsers are detected if they are installedm, but Apple Safari and Opera are not detected through registry, if anyone know how can i solve this problem plz tell me the registry location i check is SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstal l

any help would be highly appriciated and maybe i will add ur name in the about box too :P

please help!
thanks..vishal
Apr 7 '09 #1
4 1976
Plater
7,872 Expert 4TB
Well if you know the parent directory: %APPDATA%\Mozilla\Firefox\Profiles\
You can use the Directory object to get a list of all the directories below that directory.
You can then make a zip file of that directory when you have the name
Apr 7 '09 #2
@Plater
can u tell me how to do that please?
Apr 7 '09 #3
Plater
7,872 Expert 4TB
Uhh I pretty much did already? Use the directory object:
string[] subDirectories = Directory.GetDirectories(path_string);
Apr 8 '09 #4
Thank You :) it works!
Apr 8 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Kenny Ashton | last post by:
Can anyone tell me how to overcome my 'permissions problems' every time I upload a new database to my ISP's server. I have a folder, specially created for me by the ISP, where I can upload new...
2
by: Mike MacSween | last post by:
I'm not talking Access Users & Groups, I may or may not implement that. Even if I do file/folder rights still need to be managed. I've searched the archives and read the many postings. The basic...
9
by: Karl Irvin | last post by:
Does anyone have an example of an FTP script or module for use with Access 2003. I need to send a file from by computer to my web host from within Access. The from folder may or may not be the...
5
by: Andy P via AccessMonster.com | last post by:
I am responsible for maintaining our departmental intranet pages at work. I would like to put a link from our website to a MS Access database which is held on our Network drive. The problem I...
1
by: Microsoft News | last post by:
I have a web server sitting on computer 1, (QA1). Out on the network on my main server I have a folder with a zip file in it. All I want is for the web services that are on the web server to pick...
17
by: rdemyan via AccessMonster.com | last post by:
With A2003, I'm having trouble accessing files in a folder on another computer where back-end files, update files, etc are located. Here's the scenario: 1) Computer #1 - A2003 2) Computer #2 -...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
5
by: gracepaul | last post by:
hi, I had created a web application in c#. It is uploaded and going smoothly. Now the request of the client is to restrict the access of their site. They want access only in some machines(Not in...
5
AnuSumesh
by: AnuSumesh | last post by:
Hi, I am impersonating the user providing Username,domain and password . Impersonation is successfull. After that i m trying to create folder on remote machine using...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.