|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Finding path of "Application Data" folder in user's machine
Hi!
While uninstalling I need to delete some files from user's machine. These files are there in the following path C:\Documents and Settings\develop\Application Data\MyFolder\abc.txt Upto "Application Data" we have system folders. MyFolder is user created folder. I need to delete file abc.txt from this folder. Now problem is that the path to Application Data folder may be different in different machines. Then how can I delete this file. Any any help will be greatly appreciated. Regards Saurabh |
|
|
|
#2 |
|
Forum King
|
$APPDATA
The application data directory. Detection of the current user path requires Internet Explorer 4 and above. Detection of the all users path requires Internet Explorer 5 and above. The context of this constant (All Users or Current user) depends on the SetShellVarContext setting. The default is the current user. Winamp: Fossil 2002 III | My AVS Presets | visboTVisbot | PimpBot | How to setup AVS? NSIS: Sublime Text Packages | NSIS-Linker.user.js | highlight.js | Icons & Graphics | Twitter |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2005
Posts: 6
|
--Now problem is that the path to Application Data folder may be different in different machines
code: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|