I have created a System variable on the XP client like this: Variable = apps Value = \\dc01\apps And in the generate.js i added this: Under the function replpath(u) add: apps = WshEnv("apps") + "\\"; rs = rs.replace(/%apps%/gi, apps); Best regards Erling Johansen