Announcement

Collapse
No announcement yet.

Freeware app

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Freeware app

    I'm not sure if I can post this here but it's a lil app I wrote to do batch file commands, from an EXE because some of our servers are so tight security wise that we cannot run batch files.

    But alas we can run EXE's so I created one to do batch functions.


    http://www.tngbbs.com/ccs/ccsbatch/


    Would appreciate some feedback if you have time

    v1.0 is freeware......
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

  • #2
    Feedback?

    Without dealing with the morality of "here's how to defeat the security, which probably was put in place for a reason" issue ....

    Looking at the command set, I have to ask why you bothered.

    Ten of the twelve available commands can be executed from a command prompt or with a single BASIC language statement from a program.

    The other two (SERVICE START, SERVICE STOP) I know you can do from within a program.

    What use(s) am I missing here?

    MCM
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      ah well when you run on servers that are locked down so tight that batch files cannot be run, batch compilers cannot be used, an EXE is the only way to go - all it does is interpret the commands that you would use in a batch file.

      It is a batch file basically, an interpreter so there is a work around.

      We have top notch security, unfortunately when a server is out in the middle of the ocean with a young not-so-trained IT guy - a pre-defined EXE/batch file can do a database install with little to no help....

      There are commercial apps that will compile batch files but in some cases the antivirus catches it as a trojan so a simple windows executable works.

      IN addition, I've put an encryption scheme in so the password can be put in the INI file and not be visible to a young sailor with maybe too much time on his hands..

      But another solution was found, I wrote this at home so thought I'd throw it out....it's not being used at this point...

      IT was fun to write also I just keep expanding on it!!!

      (Something to do in other words)
      Scott Turchin
      MCSE, MCP+I
      http://www.tngbbs.com
      ----------------------
      True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

      Comment


      • #4
        >IT was fun to write ...

        Well, at least you had one valid reason.
        Michael Mattias
        Tal Systems Inc. (retired)
        Racine WI USA
        [email protected]om
        http://www.talsystems.com

        Comment


        • #5
          Scripts

          interesting idea - could be useful to me to add to my database script running engine to cater for commands that are fiddly in tsql

          Comment


          • #6
            I've actually ran into issues at work where some machines themselves no longer run batch files. Dell D600-610 run them fine, but D620+ and the new HP laptops and some desktops don't run them or run the first line then exit.

            You mention lockdown...could there be an M$ patch or setting causing this? Or is there just something wrong with the new models that don't allow them to run?
            sigpic
            Mobile Solutions
            Sys Analyst and Development

            Comment


            • #7
              Originally posted by Roger Garstang View Post
              I've actually ran into issues at work where some machines themselves no longer run batch files. Dell D600-610 run them fine, but D620+ and the new HP laptops and some desktops don't run them or run the first line then exit.

              You mention lockdown...could there be an M$ patch or setting causing this? Or is there just something wrong with the new models that don't allow them to run?
              If the system won't run batch files, and you've checked all of the obvious stuff (like the value of the COMSPEC environment variable) open the registry editor (regedit.exe) and navigate down to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System and look for a key named DisableCMD. If it exists and has a value of 1, that means a group policy was set which disables the command prompt and batch files. Setting it to a value of 0 enables them; of course, if it was disabled, then it could be that the administrator of that system wanted it that way.
              Mike Stefanik
              sockettools.com

              Comment


              • #8
                Do a Google search for BAT2COM. Several hits. The program will take a batch file and convert it into a .COM program.

                I remember I had that long ago when DOS was king. Good little program but don't have it any more.
                There are no atheists in a fox hole or the morning of a math test.
                If my flag offends you, I'll help you pack.

                Comment


                • #9
                  bAT2Com and Bat2EXE show up as Trojan horses on many corporate anti-virus scanners....although we are using those, my app does what the batch file (100 lines long) does, but faster...
                  I'm going to put an enterprise 100 command version out for sale and a freeware 10 line/command version out..

                  Scott Turchin
                  MCSE, MCP+I
                  http://www.tngbbs.com
                  ----------------------
                  True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

                  Comment


                  • #10
                    BTW - a final version 1.2 is released, I'm using it to back up my source code nightly as well as my MP3's and a bunch of other stuff.

                    Came in handy and free to anyone who wants a copy.

                    http://www.tngbbs.com/ccs/ccsbatch
                    Scott Turchin
                    MCSE, MCP+I
                    http://www.tngbbs.com
                    ----------------------
                    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

                    Comment

                    Working...
                    X