You are here

Is there an NSIS variable that points to the users Docs and Settings directory?

4 posts / 0 new
Last post
Espreon
Espreon's picture
Offline
Last seen: 11 years 10 months ago
Joined: 2006-09-29 18:23
Is there an NSIS variable that points to the users Docs and Settings directory?

Is there? Because I am making a utility that eradicates private data created by Window$ such as Recent Documents. If there isn't is there a way to use the AppData variable and to go up to the hiearacy to the Docs and Settings directory in order to reach the Recent Documents Directory?

wraithdu
Offline
Last seen: 11 years 1 week ago
Developer
Joined: 2007-06-27 20:22
NSIS Help File under 'Constants'

It's all there. You would want to use -

$PROFILE - give you 'Docs and Settings\user'
$APPDATA
$DOCUMENTS - 'Docs and Settings\user\My Documents'

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 10 months ago
Developer
Joined: 2006-01-24 13:26
If I were you I'd try

If I were you I'd try $PROFILE\..\

(Don't take my word on it, I use AutoIt.)

-----
In a perfect world Wiis would be free.
In this world only wheees are free.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

Espreon
Espreon's picture
Offline
Last seen: 11 years 10 months ago
Joined: 2006-09-29 18:23
Thanks very much.

""

--
As all of ya should know Micro$oft is the Evil Empire, and Windows (a.k.a. Winblows or Windoze) is their greatest general, so please make a difference and install Linux or FreeBSD on yer Windows comp.

Log in or register to post comments