"OlivierH" wrote in message news:id87ak$2irv$2@news.niouzes.net...
tu mets le parametre en plus.
> Est ce que l'exemple de mike peut t'aider.
>
> && b) Créer un icone sur le bureau.
>
> Shell = CreateObject('WScript.Shell')
> DesktopPath = Shell.SpecialFolders('Desktop')
> link = Shell.CreateShortcut(DesktopPath+'\test.lnk')
> link.Arguments = '1 2 3'
> link.Description = 'test shortcut'
> link.HotKey = 'CTRL+ALT+SHIFT+X'
> link.IconLocation = 'app.exe,1'
> link.TargetPath = 'c:\blah\app.exe'
> link.WindowStyle = 3
> link.WorkingDirectory = 'c:\blah'
> link.Save()
>
>
http://www.atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000099>
> Olivier,
>
>
> Le 02/12/2010 13:34, Thierry N a écrit :
>> Bonjour,
>>
>> Savez-vous s'il est possible de créer un raccourci vers un fichier.app en
>> spécifiant un fichier de configuration avec la directive '-c<fichier de
>> config>' ?
>>
>> J'ai essayé sans succès dans la cible du raccourci:
>> "...\mon.app" -c"...\monconfig.fpw"
>>
>> peut-être une autre syntaxe ?
>>
>> Merci
>> thn
>>
>>