You are here

%windir% on pstart?

6 posts / 0 new
Last post
Anonymous (not verified)
%windir% on pstart?

Is there any way I can reference windir in pstart? I have a lot of apps added, such as notepad, etc) but some computers use c:\winnt and some use c:\windows. (I would like to keep the icons)

Rob Loach
Rob Loach's picture
Last seen: 15 years 11 months ago
Joined: 2005-12-09 17:29

What exactly are you trying to do? If you want to use the icons located in the windows directory, you can just copy them straight to your device.

Rob Loach [Website] [Projects]

achille (not verified)

I am trying to 'link' windows apps such as Notepad by using pStart.
In some computers notepad.exe can be found at:

but on other computers, notepad can be found at

the common way to reference it as %windir%. Thus if you clicked start - run %windir%\notepad.exe you'd get notepad. At that particular time, 3AM when I posted the message, I was unable to do this,
I tried:
* Typing in %windir% -> It converted it to c:\winnt
* Modifying the xml file manually -> Did not work
* Adding a .lnk file that used %windir% -> pstart does not "follow" shortcuts
* Creating .bat files -> Loose icons

Ryan McCue
Ryan McCue's picture
Last seen: 14 years 9 months ago
Joined: 2006-01-06 21:27

$WINDIR is available in NSIS.
R McCue

"If you're not part of the solution, you're part of the precipitate."

Ashes for Tears
Last seen: 16 years 9 months ago
Joined: 2006-01-11 08:41
If you're not totally

If you're not totally adverse to batch files, you can just extract the icons from the windows files and assign them to the batch files through PStart. Now i'm a little confused...(sorry, been up 20 hours...don't ask :P), do you just not want two shortcuts in PStart? Or is the shortcut (through PStart) not sticking?

Last seen: 10 years 10 months ago
Joined: 2006-02-05 14:52
pstart and %Systemvariables%

I mailed the developer and he said hr liked the idea and this will be implemented in the next version.

Topic locked