o_O i modified my WPI ages ago and when i noticed these topics i started reading them. i figured that a newer WPI then mine would already have these functions but apparantly not.. mine was origionally 2. something. i created a new variable named fullpath cmd1[pn]=['%FullPath%\\Install\\ACDpro\\ACDSeepro.msi /qn <-- like there and in generate.js var FullPath = window.location.pathname.replace(/WPI.hta/, "") plus the rs = rs.replace(/%FullPath%/gi, FullPath); These two lines make it work from ANY location besides network shares. (which can be solved from a batch file as posted elsewhere here.) cd-rom or hd or stepped away in whatever folder. unless im reading wrong here this would be alot smaller than what you currently have.