Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    3

    Star Shortcut in Start menu

    Hi!

    I need create Shortcut in Start menu for my folder Utilities (Start > Programs > Pedrov project > Utilities)

    %AppFolder% is C:\Program files\Pedrov project

    This is my code:

    if (check01) then
    StatusDlg.Show();
    Zip.Extract("%SourceDrive%\\--==-Pedro==--\\Utilities.zip", {"*.*"}, "%AppFolder%", true, true, "", 3);
    StatusDlg.Hide();
    Create shortcut:
    Shell.CreateShortcut(Shell.GetFolder(SHF_STARTMENU PROGRAMS), "Utilities", SessionVar.Expand("%AppFolder%\\Utilities"), "", "", "%WindowsFolder%\\Utilities.ico", 0, SW_SHOWNORMAL, , "");
    end

    Shell.CreateShortcut(Shell.GetFolder(SHF_STARTMENU PROGRAMS) Start > Programs > ?????????? I need (Start > Programs > Pedrov project > Utilities)


    What I have got to use script?

    Thx

  2. #2
    Join Date
    Mar 2005
    Location
    Indianaoplis, IN USA
    Posts
    127
    I think you want:
    Code:
    Shell.CreateShortcut(Shell.GetFolder(SHF_STARTMENUPROGRAMS).."\\Pedrov Project\\Utilities", "ShortcutName", SessionVar.Expand("%AppFolder%\\Utilities\\MyExe.exe"), "", "", "%WindowsFolder%\\Utilities.ico", 0, SW_SHOWNORMAL, , "");
    Where "ShortcutName" is the name of the shortcut you want to display in the Start Menu and "MyExe.exe" is the file you want the shortcut to open.

  3. #3
    Join Date
    Jan 2005
    Posts
    3
    Thank you HMMurdock

    Correctly this i am needed.

    Script is functionally.

Similar Threads

  1. Start Menu shortcut to a website under Windows NT 4.0
    By Tek in forum Setup Factory 6.0
    Replies: 3
    Last Post: 07-30-2004, 08:18 AM
  2. Removing Start Menu Shortcut
    By thomas2 in forum Setup Factory 6.0
    Replies: 1
    Last Post: 08-05-2003, 08:29 AM
  3. TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-10-2002, 02:39 PM
  4. HOWTO: Uninstall a Shortcut Created with Actions
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-25-2002, 09:50 AM
  5. HOWTO: Create Nested Shortcuts in the Start Menu
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-24-2002, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts