~lorzeteam/lorze/trunk

« back to all changes in this revision

Viewing changes to Install/ReadMe/Shortcut_ReadMe.txt

  • Committer: Andreas Ulrich
  • Date: 2012-12-13 20:54:19 UTC
  • Revision ID: ulrich3110@gmail.com-20121213205419-aucgdskqtqmyrj10
new file structure, new object structure, about dialogue, help dialogue, hep pages in english and german, german translation, ponton5h installer, documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Shortcut [Version 1.11]
 
3
 
 
4
Creates, modifies or queries Windows shell links (shortcuts)
 
5
 
 
6
 
 
7
The syntax of this command is:
 
8
 
 
9
Shortcut.exe /F:filename /A:C|E|Q [/T:target] [/P:parameters] [/W:workingdir]
 
10
         [/R:runstyle] [/I:icon,index] [/H:hotkey] [/D:description]
 
11
 
 
12
 /F:filename    : Specifies the .LNK shortcut file.
 
13
 /A:action      : Defines the action to take (C=Create, E=Edit or Q=Query).
 
14
 /T:target      : Defines the target path and file name the shortcut points to.
 
15
 /P:parameters  : Defines the command-line parameters to pass to the target.
 
16
 /W:working dir : Defines the working directory the target starts with.
 
17
 /R:run style   : Defines the window state (1=Normal, 3=Max, 7=Min).
 
18
 /I:icon,index  : Defines the icon and optional index (file.exe or file.exe,0).
 
19
 /H:hotkey      : Defines the hotkey, a numeric value of the keyboard shortcut.
 
20
 /D:description : Defines the description (or comment) for the shortcut.
 
21
 
 
22
 Notes:
 
23
 - Any argument that contains spaces must be enclosed in "double quotes".
 
24
 - If Query is specified (/A:Q), all arguments except /F: are ignored.
 
25
 - To find the numeric hotkey value, use Explorer to set a hotkey and then /A:Q
 
26
 - To prevent an environment variable from being expanded until the shortcut
 
27
   is launched, use the ^ carat escape character like this: ^%WINDIR^%
 
28
 
 
29
 Examples:
 
30
   /f:"%ALLUSERSPROFILE%\Start Menu\Programs\My App.lnk" /a:q
 
31
   /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:c /t:^%WINDIR^%\Notepad.exe /h:846
 
32
   /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:e /p:C:\Setup.log /r:3
 
33
 
 
34
 An argument of /? or -? displays this syntax and returns 1.
 
35
 A successful completion will return 0.
 
36
 
 
37
 
 
38
 Copyright 2000-2005 Marty List, www.OptimumX.com
 
39
 
 
40
 
 
41
==================================================================
 
42
 
 
43
 
 
44
Revision History:
 
45
 
 
46
1.11    07/04/2005
 
47
- Fixed display problem for hotkeys with extended characters.
 
48
- Removed reference to .URL files in the syntax, since URL files are not supported yet.
 
49
 
 
50
1.10    12/20/2003
 
51
- Fixed COM memory leak, enhanced exit/result codes, enhanced syntax.
 
52
 
 
53
1.00    10/02/2000
 
54
- Initial release.
 
55