|
-
Jul 16th, 2010, 10:45 PM
#1
Accessing path w/o knowing full path name
I need access a file path, but a part of the path is different on each PC.
Mozilla creates a random profile name for each PC it is installed on.
I can get most of the path through environment variables. I need to access the files inside of the default profile, but can't since I'm not sure how to access it.
Anyone have any ideas?
Here's an example of the file path:
'C:\Users\%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default'
The only thing that stays the same with the profile name, is the '.default' part.
Thanks
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|