Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15
  1. #1
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question linking shortcuts

    Does anyone know how i can link to an .exe shortcut?
    im doing it for my desktop, a example for the shortcut would be
    C:\program.exe command line

    obviously a regular link wont work, any ideas?

    thank you

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ?

    Is it to an online link or just a program on your computer?

    The easy way would be to right click the program file and click create shortcut.

    Then just copy it to your desktop.

  • #3
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hyperlinking files

    how can i hyperlink to an .exe file shortcut ".lnk"
    and actually execute the command in the shortcut command line?
    IE: c:\file.exe command
    im trying to build a really functional desktop with a pogram i made.


    i posted this question already, but the thread dissapeared!

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #4
    Regular Coder
    Join Date
    May 2002
    Location
    Maine, USA
    Posts
    573
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: hyperlinking files

    Originally posted by cg9com
    how can i hyperlink to an .exe file shortcut ".lnk"
    and actually execute the command in the shortcut command line?
    IE: c:\file.exe command
    im trying to build a really functional desktop with a pogram i made.


    i posted this question already, but the thread dissapeared!
    It didn't disappear, apparently you just couldn't find it. Anyway, I've merged this with your original thread on this question to avoid the same member having 2 threads open regarding the same question.

    As to a solution...why not just create a shortcut to the program on your desktop as Golden Eagle suggested?
    Last edited by boxer_1; 09-09-2002 at 09:46 PM.
    boxer_1
    CodingForums Moderator
    "How did a fool and his money get together in the first place?"

  • #5
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i am using a webpage as a "active background" on the desktop
    that way i can just have 1 file and 1 html page instead of about 15 shortcuts with different command lines.

    i am making a sort of control "everything" on the desktop thing.
    then i will put it up for download, to make about 15 shortcuts would be a waste of space

    thats why i was trying to figure out how to just hyperlink the command lines to the ".exe" file because thats the only way that the "action" will work

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #6
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    does anyone know what im talking about?

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #7
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    I did something like that once where I put my netscape bookmarks into the webpage I created and made it my active desktop. It was kind of cool having them so accessible.

    Anyways instead of trying to link to the shortcut to the program why don't you just link to the actual program. The shortcut file is known only to the operating system whereas a link to the program will be know to the web browser.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #8
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the shortcut is not important, its the "command verb" that comes after the "command line" in the shortcuts properties box.
    i need to incorperate that command with the actual .exe file, through the wegpage

    Screenshot
    those commands (highlighted) are what makes the program do what it does
    Last edited by cg9com; 09-11-2002 at 06:58 AM.

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #9
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is this possible? to incorperate the command?

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #10
    Regular Coder
    Join Date
    Jun 2002
    Posts
    262
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is this what you mean?

    <p><a href="file:///C:/Program%20Files/Adobe/Acrobat%204.0/Reader/AcroRd32.exe">file link</a></p>
    Therapy is expensive, popping bubble wrap is cheap, you choose.

  • #11
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no, AcroRd32.exe has to have a command verb atfer the .exe for it to send the command to the program, the actual .exe file doesnt do anything, its the command that does it, and it can only be used in a shortcut because then you can control the path

    can anyone help?

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #12
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i guess i should give up on this idea, hehe i cant find a solution
    ahh all 30 minutes of programming for nothing (smile)

    if anyone can ever think of anything, and you feel like telling me, let me know?

    thank you

    btw this website is awsome

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #13
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you talking about command line parameters, like, say, C:\fcompress.exe -e -r file.dat??

    If so, you could just make a simple batch file and link to that.
    Recycle Your Pets

  • #14
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    aahh thank you, i never thought of that im such an idiot
    The shortcut file is known only to the operating system -Spookster
    but a batch file would do the same thing as the shortcut
    that would work perfect thank you very very much
    your a genius

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #15
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    my original idea was to be able to have many desktop functions and not many files, i will use the .bat idea but is there no way to incorperate the commands into the webpage instead of using external files?

    again anyone can refer to the screenshot if they arent sure what im talking about, that i posted above in another reply
    Last edited by cg9com; 09-22-2002 at 06:06 AM.

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.


  •  

    Posting Permissions

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