|
-
Jun 23rd, 2007, 11:22 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Format File Path
Is there a way to replace uncommon file paths such as:
%ProgramFiles%\Internet Explorer\iexplore.exe
with
C:\Program Files\Internet Explorer\iexplore.exe
?
I know I can do something like:
filepath=Replace("%ProgramFiles%\Internet Explorer\iexplore.exe","%ProgramFiles%","C:\Program Files")
but I know there's many others like %windir and %commonprogramfiles%. I know I'm forgetting some so is there a method to use that will also replace the ones I forgot with their normal paths? Thanks
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
|