faqts : Computers : Programming : Languages : JavaScript : Language Core : Objects

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 15 people (73%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Finding the desktop/Path so I may place a file with the JScripts CreateTextFile

Aug 22nd, 2001 00:02
Chris Benjaminsen, OneDogAmI,


Heya dude
Hers how to do get it using jscript.. and its quite simple :)
var WSHShell = WScript.CreateObject("WSCript.Shell")
var DeskTopPath = WSHShell.SpecialFolders("Desktop")
Have fun
/Q-Rious