Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: how to convert a script to windows.exe  (Read 6980 times)

0 Members and 1 Guest are viewing this topic.

anthonyb5615

    Topic Starter


    Beginner
  • I rather be fishing
  • Thanked: 1
    • Certifications: List
    • Computer: Specs
    • Experience: Familiar
    • OS: Other
    how to convert a script to windows.exe
    « on: January 08, 2014, 05:29:47 PM »
    How do you convert a script to a windows.exe file,
    I have a website script and am trying to make a website with it, I was told to convert it to a windows.exe file to be able to work with it. Or how do I go about working and editing the script?
    "It is not in the stars to hold our destiny but in ourselves"

    camerongray



      Expert
    • Thanked: 306
      • Yes
      • Cameron Gray - The Random Rambings of a Computer Geek
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Mac OS
    Re: how to convert a script to windows.exe
    « Reply #1 on: January 08, 2014, 05:38:04 PM »
    We are going to need a lot of more information than this.

    anthonyb5615

      Topic Starter


      Beginner
    • I rather be fishing
    • Thanked: 1
      • Certifications: List
      • Computer: Specs
      • Experience: Familiar
      • OS: Other
      Re: how to convert a script to windows.exe
      « Reply #2 on: January 08, 2014, 05:49:58 PM »
      I have a website template, and need to know how to work on it?? What information do you need??
      "It is not in the stars to hold our destiny but in ourselves"

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: how to convert a script to windows.exe
      « Reply #3 on: January 08, 2014, 08:09:58 PM »
      If the template is for server side stuff, no local EXE file will help you.
      So, yes, more detail is needed.
      Is the template a form of HTML?

      camerongray



        Expert
      • Thanked: 306
        • Yes
        • Cameron Gray - The Random Rambings of a Computer Geek
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Mac OS
      Re: how to convert a script to windows.exe
      « Reply #4 on: January 09, 2014, 03:19:58 AM »
      You wouldn't compile any sort of website template to an .exe file.  If these templates are .html, .js or .css files you will edit them with a text editor such as Notepad, Sublime Text or Notepad++.

      Do you have a link to the template you are talking about.

      anthonyb5615

        Topic Starter


        Beginner
      • I rather be fishing
      • Thanked: 1
        • Certifications: List
        • Computer: Specs
        • Experience: Familiar
        • OS: Other
        Re: how to convert a script to windows.exe
        « Reply #5 on: January 10, 2014, 07:30:04 PM »
        Is there a software where you can edit the text and see your website, and what you are creating at the same time?

        I am not sure why I was told windows.exe? Is Notepad++ compatible with php? Or what would be compatible with PHP??
        "It is not in the stars to hold our destiny but in ourselves"

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: how to convert a script to windows.exe
        « Reply #6 on: January 10, 2014, 07:56:15 PM »
        Is there a software where you can edit the text and see your website, and what you are creating at the same time?

        I am not sure why I was told windows.exe? Is Notepad++ compatible with php? Or what would be compatible with PHP??
        Scripts that run on a remote server can not run on your local ,Windows machine. The conceptions are s when your local machine has some kind of server system. This is often  done with an emulation or a virtual machine.
        The forum is written in PHP. But the serve translates  in into HTML for your browser.

        briandams



          Beginner

          Thanked: 2
          • Experience: Guru
          • OS: Unknown
          Re: how to convert a script to windows.exe
          « Reply #7 on: January 10, 2014, 08:27:13 PM »
          yes you can. scripts are just created by scripting languages. Putting aside the issue of whether you are local or at remote and whether its a web site script, there are tools developed to convert scripts to exe that you can run locally on your computer.
          For example, if you have a PHP script, you can probably try out some of the tools mentioned here.

          If you are using Python as a scripting language, py2exe , pyinstaller comes to mind.

          If you are using Ruby, things like ocra can do it

          If you are using Perl, you can use PAR::Packager , or one of those commercial ones like pdk perl2exe

          So, depends on what language you use, you might probably find something along that line.

          Geek-9pm


            Mastermind
          • Geek After Dark
          • Thanked: 1026
            • Gekk9pm bnlog
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 10
          Re: how to convert a script to windows.exe
          « Reply #8 on: January 10, 2014, 09:33:02 PM »
          briandams, have you done it?
          The tone of the first post would indicate the OP has no experience with running scripts either remotely on local. Now if you wish to help him step-by step, please do so. And he did not say which script language.

          briandams



            Beginner

            Thanked: 2
            • Experience: Guru
            • OS: Unknown
            Re: how to convert a script to windows.exe
            « Reply #9 on: January 10, 2014, 11:51:42 PM »
            briandams, have you done it?
            of course. If not, i won't even suggest. Due to work, i often have to distribute programs to clients who doesn't know programming and in order to reduce the hassle, i just convert scripts i wrote to stand alone executables.

            The tone of the first post would indicate the OP has no experience with running scripts either remotely on local. Now if you wish to help him step-by step, please do so. And he did not say which script language.
            you and me and everyone else knows the info he gave is sufficient to really help him. I am just giving a best guess what his scripting language might be. helping him or not, well, we both know that that's not possible right now w.o further info.

            BC_Programmer


              Mastermind
            • Typing is no substitute for thinking.
            • Thanked: 1140
              • Yes
              • Yes
              • BC-Programming.com
            • Certifications: List
            • Computer: Specs
            • Experience: Beginner
            • OS: Windows 11
            Re: how to convert a script to windows.exe
            « Reply #10 on: January 10, 2014, 11:54:33 PM »
            And he did not say which script language.
            They mentioned PHP.


            anthonyb5615:

            If it is a prepared Template, is it possibly some sort of CMS? Some templates come with back-end features that will allow you to make certain changes without editing any of the source, or by simply revising stylesheets.

            Have you been able to deploy the Web site/templates anywhere? Or is deploying the website in a usable form what you are trying to do?
            I was trying to dereference Null Pointers before it was cool.

            anthonyb5615

              Topic Starter


              Beginner
            • I rather be fishing
            • Thanked: 1
              • Certifications: List
              • Computer: Specs
              • Experience: Familiar
              • OS: Other
              Re: how to convert a script to windows.exe
              « Reply #11 on: January 14, 2014, 10:14:45 AM »
              I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from php, with the ready made site I just want to add my add sense and upload it to server.
              "It is not in the stars to hold our destiny but in ourselves"

              Geek-9pm


                Mastermind
              • Geek After Dark
              • Thanked: 1026
                • Gekk9pm bnlog
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Windows 10
              Re: how to convert a script to windows.exe
              « Reply #12 on: January 14, 2014, 02:34:39 PM »
              I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from PHP, with the ready made site I just want to add my add sense and upload it to server.
              Hmm... When I need to put a script or something else on my website, I use an FTP client and have no need to convert it to an EXE file.

              What I am saying is that if the remote machine is not a windows machine, using EXE written for Windows is not going to work. The remote might be Linux.

              However, when I find a template in PHP, I test it on my local machine with suitable emulator. Then I have to convert the  thing into a ZIP file and upload lit to the server. The program non the service is WordPress, which is largely PHP and requires uploads in ZIP format. However, I believe I have did uploads using FTP. The issues is knowing where they have to go in the remote directory structure.

              Does this apply to what you do?


              camerongray



                Expert
              • Thanked: 306
                • Yes
                • Cameron Gray - The Random Rambings of a Computer Geek
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Mac OS
              Re: how to convert a script to windows.exe
              « Reply #13 on: January 14, 2014, 03:06:43 PM »
              I m trying to work with template, not sure of the file type? and I have a ready made website I bought that is made from php, with the ready made site I just want to add my add sense and upload it to server.

              You are going to have to give a lot more information - Such as what your existing website is, what this exact template (i.e. a link to it) and what you are trying to do.