Have a .bat file which I want to turn into a .exe file

Discussion in 'Scripting' started by Spin, Sep 14, 2008.

  1. Spin

    Spin Guest

    Gurus,

    I have a .bat file which I want to turn into a .exe file. A utility that I
    have called bat2exe.com turns .bat files into .com files, but not into .exe
    files. I'm looking for something from a reputable company like Microsoft
    instead of from an anonymous download site. What are your suggestions?
     
    Spin, Sep 14, 2008
    #1
    1. Advertisements

  2. Spin

    Al Dunbar Guest

    Since there is no such thing, my suggestions is that you give up the search.

    Let me rephrase that - there *might* be such a thing, though not likely from
    a reputable company, but it would *not* produce exe files that performed
    exactly like the source .bat file.

    That said, what is your reason and purpose for this quest?

    /Al
     
    Al Dunbar, Sep 14, 2008
    #2
    1. Advertisements

  3. Spin

    Spin Guest

    The reason for this is my company recently got hit with a virus that created
    a file in the user's startup folder called Iexplore.exe. Of course, it
    wasn't the real Iexplore.exe and when launched it did nefarious thoings to
    the system. This was in spite of the fact that we had Antivirus running on
    the system. In order to prvent this from happening in the future, I want to
    create software restriction policies that will only allow the "true"
    Iexplore.exe to run, and will do this by using a hash rule. This will be a
    backup of sorts, to my Antivirus. Of course I need to test this and by
    doing so I created a batch file that simply launches Iexplore.exe (start
    Iexplore.exe). But it's named Iexplore.bat and I need to rename it to
    Iexplore.exe in order to test my software restriction policy hash rule.
     
    Spin, Sep 15, 2008
    #3
  4. You could achieve the same effect by copying cmd.exe to the user's startup
    folder, then renaming it to iexplore.exe.
     
    Pegasus \(MVP\), Sep 15, 2008
    #4
  5. Spin

    Spin Guest

    Nice idea Pegasus, that works even better!!!!
     
    Spin, Sep 15, 2008
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.