using Shell function - Programmers Heaven

Howdy, Stranger!

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

Categories

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.