Hi, Thanks for your suggestions. I will try both.
Laplaud François -----Message d'origine----- De : Rainer Meier [mailto:r.me...@wpkg.org] Envoyé : jeudi 19 mai 2011 18:25 À : LAPLAUD François Cc : wpkg-users@lists.wpkg.org Objet : Re: [wpkg-users] Variables %SOFTWARE% without wpkg client Hi, On 19.05.2011 14:22, LAPLAUD François wrote: > Thanks for this suggestion. > In fact my scheduled task is already running a bath calling wpkg.js. > > I would have preferred to not set my env var here since this batch is running > locally. > > Anyway, I will certainly choose this solution since my batch is deployed via > WPKG itself. You might just call a cmd file on the server instead of running wpkg.js directly. Simply use call "\\path\to\wpkg.cmd" instead of start [...] wpkg.js This way you can adapt the environment without having to update the local cmd script each time you have to change the paths. Another possibility is profile-based variables which are set by wpkg.js as suggested by Malte. br, Rainer ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users