20. Mai 2011 10:37
IF ISCLEAR(Wshell) THEN
CREATE(Wshell);
Wshell.CreateShortcut('N:\Serviceanlagen\2011\test.Ink');
CLEAR(Wshell);
20. Mai 2011 10:41
20. Mai 2011 11:03
20. Mai 2011 11:22
Name DataType Subtype Length
WshShell Automation 'Windows Script Host Object Model'.WshShell
oShellLink Automation 'Windows Script Host Object Model'.WshShortcut
IF ISCLEAR (WshShell) THEN
CREATE(WshShell);
oShellLink := WshShell.CreateShortcut('aaa.lnk');
oShellLink.TargetPath := 'notepad.exe';
oShellLink.Arguments := 'c:\windows\desktop\aaa.txt';
oShellLink.Save;
CLEAR(oShellLink);
20. Mai 2011 14:31