jeu. 02 décembre 2010, 14h30
OlivierH
atoutfox.public.association
Re: Raccourci vers .app avec directive -c
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=0000000099Olivier,
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
>
>
Permalink : http://www.atoutfox.org/nntp.asp?ID=0000004520