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

Author Topic: Autorun program folders  (Read 5413 times)

0 Members and 1 Guest are viewing this topic.

Tan_Za

    Topic Starter


    Intermediate
  • Starcraft and C programming
    • Experience: Experienced
    • OS: Windows 7
    Autorun program folders
    « on: May 03, 2009, 01:35:28 AM »
    Hi,

    I need help with a small issue. The issue is that I want to have my program run when I click on the folder that it is in. I have been looking into '.inf' and '.ini' configuration files and so far I haven't found much other than changing the folder icon, but that's not new information. I am running windows xp and this has to be written in either an '.inf' or a '.inf' type file.

    Thank you for any help,
    Tan_Za

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: Autorun program folders
    « Reply #1 on: May 03, 2009, 01:38:29 AM »
    Why, may I ask?

    Tan_Za

      Topic Starter


      Intermediate
    • Starcraft and C programming
      • Experience: Experienced
      • OS: Windows 7
      Re: Autorun program folders
      « Reply #2 on: May 03, 2009, 01:47:11 AM »
      At my school the government has just put in the new systems and they are not secure. So in other words I have full control over every bodies accounts, so I can delete all of their work, and they can delete all of mine. I'm not the type of person who would go deleting other peoples work but I know a few people who will. So what I have done is made a security program that what I want this '.inf'/'.ini' file is to load it when they access my directory. My program will ask for a password and if they get it wrong then they get booted out of the directory. Sounds fair to me.

      Thanks for replying anyways,
      Tan_Za

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: Autorun program folders
      « Reply #3 on: May 03, 2009, 01:53:25 AM »
      ....And to access your stuff, all they would have to do is Right Click --> Explore.

      Tell your school about the problem.

      Tan_Za

        Topic Starter


        Intermediate
      • Starcraft and C programming
        • Experience: Experienced
        • OS: Windows 7
        Re: Autorun program folders
        « Reply #4 on: May 03, 2009, 02:00:26 AM »
        I did and the school said that they had no power over the issue, it is all the government and if the government say they want it they want it.

        Even if they go right click - explore the '.inf'/'.ini' file would still run. It is a config file so it runs when it detects a user entering the directory. I know that because I have done it before just not with running programs, only displaying messages and other sorts of display.

        I just need to know how to do it and if you can't help then there is no point you replying any more,
        Tan_Za

        kpac

        • Web moderator


        • Hacker

        • kpac®
        • Thanked: 184
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 7
        Re: Autorun program folders
        « Reply #5 on: May 03, 2009, 02:45:41 AM »
        inf or ini files usually open in Notepad. Right click it, and choose Open With.

        Carbon Dudeoxide

        • Global Moderator

        • Mastermind
        • Thanked: 169
          • Yes
          • Yes
          • Yes
        • Certifications: List
        • Experience: Guru
        • OS: Mac OS
        Re: Autorun program folders
        « Reply #6 on: May 03, 2009, 02:53:10 AM »
        So exactly what do you want to do? Write a configuration or autorun to start a program?

        Are you sure the school is aware of the problem? If so, they would definitely be able to do something about it.
        Having complete access to everyone's files is something that should be dealt with immediately. Think about the data privacy, copyright and security issues.
        Would you want your essay copied by someone else for them to hand in as their own?

        This thing you are working on may help you, but not everyone else. I don't think your school understands the problem, and I'm also curious how these files are stored on the network.

        Tan_Za

          Topic Starter


          Intermediate
        • Starcraft and C programming
          • Experience: Experienced
          • OS: Windows 7
          Re: Autorun program folders
          « Reply #7 on: May 03, 2009, 05:12:22 AM »
          Does any body have an answer, I thank you all for your input though.

          The section that our account data is located in can't be easily access but you can if you do some simple steps. The School does care but they can't do anything with out government approval  because it is the governments system. So we have to wait till next semester before anything will be done.

          I just need to know how to do this for the time being.

          Thank you for your help so far though,
          Tan_Za

          Carbon Dudeoxide

          • Global Moderator

          • Mastermind
          • Thanked: 169
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Experience: Guru
          • OS: Mac OS
          Re: Autorun program folders
          « Reply #8 on: May 03, 2009, 05:31:09 AM »
          The command for the autorun should simply be open=file.exe or open=path\to\file.exe

          Not sure about the configuration file though.

          Tan_Za

            Topic Starter


            Intermediate
          • Starcraft and C programming
            • Experience: Experienced
            • OS: Windows 7
            Re: Autorun program folders
            « Reply #9 on: May 04, 2009, 03:09:06 AM »
            Well maybe this comment will make it easier to answer the question. How can I get my program to run once I have clicked on the folder that the program is in. That is basically what I need to know. I don't care how it is done, as long as it is not done with batch or anything related to that.

            Thanks for your help so far. Also autorun.inf doesn't do anything in this case.

            Tan_Za

            alecsillidan



              Beginner

              Re: Autorun program folders
              « Reply #10 on: May 29, 2009, 01:52:21 PM »
              Dude why the *censored* don't u hide the folder somewhere in the windows and add Hidden from properties? U can also try do delete the search from start and from right click menu so others can't search for it...or u can just save ur data on a Stick... :o
              We never had to cheat 'cause we already won!

              Carbon Dudeoxide

              • Global Moderator

              • Mastermind
              • Thanked: 169
                • Yes
                • Yes
                • Yes
              • Certifications: List
              • Experience: Guru
              • OS: Mac OS
              Re: Autorun program folders
              « Reply #11 on: May 29, 2009, 09:07:39 PM »
              Dude, why don't you watch your language.

              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: Autorun program folders
              « Reply #12 on: May 29, 2009, 10:18:04 PM »
              network drives have autorun disabled by default and folders don't have autorun abilities, only drives.
              I was trying to dereference Null Pointers before it was cool.

              Dias de verano

              • Guest
              Re: Autorun program folders
              « Reply #13 on: May 30, 2009, 05:02:23 AM »
              Dude, why don't you watch your language.

              "*censored*" is bad language? I guess I misread the calendar. I thought it said 2009, not 1899.

              Carbon Dudeoxide

              • Global Moderator

              • Mastermind
              • Thanked: 169
                • Yes
                • Yes
                • Yes
              • Certifications: List
              • Experience: Guru
              • OS: Mac OS
              Re: Autorun program folders
              « Reply #14 on: May 30, 2009, 05:12:06 AM »
              What the *censored* are you talking about, Dias?

              Perhaps it was better to say 'watch your attitude'? ::)