WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Directory Paths, A-YEE, May 16, 2005
     Re:Directory Paths, ME, May 26, 2005

Subject: Re:Directory Paths From: ME Date: May 26, 2005

This works pretty well:::

var wsh = new ActiveXObject("WScript.Shell")

function getSpecialFolder(fldr){
return wsh.SpecialFolders(fldr)

fldr="Desktop", "Startup", ect...

From: A-YEE
Sent: May 15, 2005
Subject: Re:Directory Paths

Is it possible to get directory paths in windows such as "C:/.../Desktop" "C:/.../Startup" using Javascript in trusted content?
I'd like to make an installation type program thing but i noticed that these directory paths can be different:::
EX: "C:/.../Desktop" = "C:/Windows/Desktop" = "C:/Documents and Settings/.../Desktop" = "C:/Documents and Settings/All Users/Desktop"


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX