[wpkg-users] Desktop.ink delete | Profile doesn´t work

Marco Gaiarin gaio at sv.lnf.it
Fri Apr 10 11:56:42 CEST 2015


Mandi! Koch, Stefan
  In chel di` si favelave...

> is they any standard command to del Desktop.Ink Files (Adobe Reader, VLC
> Player, Mozilla Firefox)?

I've solved the 'commond desktop mess' trouble defining a new variable
in config.xml:

  <variables>
    <variable name="PublicDesktop" value="%ALLUSERSPROFILE%\Desktop" os=", 5\.[0-2]\.\d{4}" />
    <variable name="PublicDesktop" value="%PUBLIC%\Desktop" os=", 6\.[0-3]\.\d{4}" />
  </variables>

then i use:

  <remove cmd='%COMSPEC% /c if exist "%PublicDesktop%\SOFA.lnk" del /f /q "%PublicDesktop%\SOFA.lnk"' />

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the wpkg-users mailing list