Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
;Get user application data directory appdatadir=ShortCutDir("AppData",0,1) ;add path to quick launch directory quicklaunchdir=StrCat(appdatadir,"Microsoft\Internet Explorer\Quick Launch\") ;Define shortcut name linkfile="Run Notepad.lnk" ;Define application to run appexe="notepad.exe" ;build full lnk file name fulllnkfile=StrCat(quicklaunchdir,linkfile) ;does shortcut of sname name exist? ; FileExist does not work as expected for shortcuts test=FileItemize(fulllnkfile) ;If shortcut exists, delete it If test != "" Then FileDelete(fulllnkfile) ;Make new quick launch shortcut ShortCutMake(fulllnkfile,appexe,"","",@NORMAL) ;Done
Article ID: W16217
File Created: 2004:03:30:15:43:20
Last Updated: 2004:03:30:15:43:20