Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
% set a [open "c:/windows/context.lnk" r]
file872828
% gets $a
L ☺¶☻ ? F? Ç??D?☺-l??î?É☺ Ç??D?☺ ? ☺ ? ¶ ▼PàO? ê:i►¢ +00?↓
/C:\ J 1 ?:Y?◄ PROGRA~1 2 ♥ ♦ ï?♂1ì?»:î?¶ P r o g r a m F i l e s
↑ < 1 ?:ñ?► ConTEXT & ♥ ♦ ï?19ç?»:??¶ C o n T E X T ▬ H 2 ? ►-v☺ ConTEXT.exe . ♥ ♦ ï?►
-v☺»:-?¶ C o n T E X T . e x e
%
teacup install tcom
[COLOR=#0000ff]# see the corresponding VBscript example:[/color]
[COLOR=#0000ff]# <a href="[URL unfurl="true"]http://www.robvanderwoude.com/vbstech_shortcuts.php">http://www.robvanderwoude.com/vbstech_shortcuts.php</a>[/URL][/color]
[COLOR=#804040][b]set[/b][/color] strTargetPath [COLOR=#ff00ff]"C:[/color][COLOR=#6a5acd]\\[/color][COLOR=#ff00ff]Users[/color][COLOR=#6a5acd]\\[/color][COLOR=#ff00ff]Roman[/color][COLOR=#6a5acd]\\[/color][COLOR=#ff00ff]Desktop[/color][COLOR=#6a5acd]\\[/color][COLOR=#ff00ff]Game.lnk"[/color]
[COLOR=#0000ff]# using Wscipt.Shell[/color]
[COLOR=#804040][b]package[/b][/color] require tcom
[COLOR=#804040][b]set[/b][/color] wshShell [::tcom::ref createobject WScript.Shell]
[COLOR=#804040][b]set[/b][/color] objShortcut [[COLOR=#008080]$wshShell[/color] CreateShortcut [COLOR=#008080]$strTargetPath[/color]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Full Name : %s"[/color] [[COLOR=#008080]$objShortcut[/color] FullName]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Arguments : %s"[/color] [[COLOR=#008080]$objShortcut[/color] Arguments]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Working Directory : %s"[/color] [[COLOR=#008080]$objShortcut[/color] WorkingDirectory]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Target Path : %s"[/color] [[COLOR=#008080]$objShortcut[/color] TargetPath]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Icon Location : %s"[/color] [[COLOR=#008080]$objShortcut[/color] IconLocation]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Hotkey : %s"[/color] [[COLOR=#008080]$objShortcut[/color] Hotkey]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Window Style : %s"[/color] [[COLOR=#008080]$objShortcut[/color] WindowStyle]]
[COLOR=#804040][b]puts[/b][/color] [[COLOR=#804040][b]format[/b][/color] [COLOR=#ff00ff]"Description : %s"[/color] [[COLOR=#008080]$objShortcut[/color] Description]]
c:\Users\Roman\Work>tclsh shortcutinfo.tcl
Full Name : C:\Users\Roman\Desktop\Game.lnk
Arguments :
Working Directory : C:\Program Files\gnubg
Target Path : C:\Program Files\gnubg\gnubg.exe
Icon Location : ,0
Hotkey :
Window Style : 1
Description :