Jump to content

New Version?


Recommended Posts


  • 2 weeks later...
  • 1 month later...
There will be a problem with your cleanup, cause in the Norwegian windows XP it is not called desktop.

my path to desktop is

%userprofile%\Skrivebord

(Dekstop is called Skrivebord).

This value is stored in the windows' registry. You can find it at:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Don't know if it's possible to read out the registry using WPI, but if it is, you'll know where to find that, for 100% non-english compatiblity.

Link to comment
Share on other sites

@Gavv You could add the following to the generate.js file:

function FindDesktop()

{

position = "generate.js"

swpath = WshShell.regRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders");

return desktop;

}

Then you also add to the generate.js

Desktop = Finddesktop();

rs = rs.replace(/%desktop%/gi, desktop);

Then you can use %desktop% in the config.js file as path to your desktop

In a .cmd file you can use the reg read command to get the entry

Link to comment
Share on other sites

  • 2 months later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...