Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

using Shell function

mikester1999mikester1999 Posts: 3Member
i was wondering im making a program that assists me in a game that i play but i want to use the shell function to acess needed files like calulator etc. I am taking a programming course but my teacher did not go over Shell functions but I need to know, how do I use Shell to execute a HTML file? if i left clicked and saved the file to my documents

i tryed using this code but it didnt work?

[code]Shell("C:Documents and SettingsMikeMy Documents
unescape german")[/code]Shell

Comments

  • zibadianzibadian Posts: 6,349Member
    : i was wondering im making a program that assists me in a game that i
    : play but i want to use the shell function to acess needed files like
    : calulator etc. I am taking a programming course but my teacher did
    : not go over Shell functions but I need to know, how do I use Shell
    : to execute a HTML file? if i left clicked and saved the file to my
    : documents
    :
    : i tryed using this code but it didnt work?
    :
    : [code]: Shell("C:Documents and SettingsMikeMy Documents
    unescape german")[/code]: Shell
    :
    If the file you want to open isn't an executable or a batch file, then you need to specify the extension. This way windows can find the program to open the file with.
Sign In or Register to comment.