Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. windows autorun

windows autorun

Scheduled Pinned Locked Moved C / C++ / MFC
8 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jeepoo
    wrote on last edited by
    #1

    I have placed autorun.inf file inside the drive.when i insert the drive the popup window will appear.then double click the icon ,the autorun exe file is executed. I want to execute file automatically when insert a drive without user interaction.is it possible? How to do this ? Any software is needed to install?

    G 1 Reply Last reply
    0
    • J jeepoo

      I have placed autorun.inf file inside the drive.when i insert the drive the popup window will appear.then double click the icon ,the autorun exe file is executed. I want to execute file automatically when insert a drive without user interaction.is it possible? How to do this ? Any software is needed to install?

      G Offline
      G Offline
      G Haranadh
      wrote on last edited by
      #2

      What you have written in your inf file?

      Nice talking to you. :-O
      If you judge people, you have no time to love them. -- Mother Teresa

      J 1 Reply Last reply
      0
      • G G Haranadh

        What you have written in your inf file?

        Nice talking to you. :-O
        If you judge people, you have no time to love them. -- Mother Teresa

        J Offline
        J Offline
        jeepoo
        wrote on last edited by
        #3

        i have written as [autorun] open=boot\EKLoader.exe Action=ENCRYPTAKEY label=WELCOME TO ENCRYPTAKEY icon=boot\ek\ico.ico shell\ek="&ek" shell\ek\ command=ba.bat now what i need is i have to straightly run the EKLoader.exe file without asking user intention to click the exe -- modified at 4:12 Saturday 10th March, 2007

        G 1 Reply Last reply
        0
        • J jeepoo

          i have written as [autorun] open=boot\EKLoader.exe Action=ENCRYPTAKEY label=WELCOME TO ENCRYPTAKEY icon=boot\ek\ico.ico shell\ek="&ek" shell\ek\ command=ba.bat now what i need is i have to straightly run the EKLoader.exe file without asking user intention to click the exe -- modified at 4:12 Saturday 10th March, 2007

          G Offline
          G Offline
          G Haranadh
          wrote on last edited by
          #4

          Hi, In my windows-xp cd's inf file the code is as follows.

          [AutoRun]
          open=setup.exe
          icon=setup.exe,0

          I hope your cd must works. But is your OS windows XP or higher? If your os is NT/2000/98 then i am not sure about that cd runs automatically. please check once. I am not much aware of this scripting. If my answer is not helpful, If you searching in scripting zone you could get proper answer. Thank you,:rose:


          Nice talking to you. :-O
          If you judge people, you have no time to love them. -- Mother Teresa

          J 1 Reply Last reply
          0
          • G G Haranadh

            Hi, In my windows-xp cd's inf file the code is as follows.

            [AutoRun]
            open=setup.exe
            icon=setup.exe,0

            I hope your cd must works. But is your OS windows XP or higher? If your os is NT/2000/98 then i am not sure about that cd runs automatically. please check once. I am not much aware of this scripting. If my answer is not helpful, If you searching in scripting zone you could get proper answer. Thank you,:rose:


            Nice talking to you. :-O
            If you judge people, you have no time to love them. -- Mother Teresa

            J Offline
            J Offline
            jeepoo
            wrote on last edited by
            #5

            this will popup a window and make user to select the exe. but what i need is this wolud itself start running the exe instead of popping up the window.

            G 1 Reply Last reply
            0
            • J jeepoo

              this will popup a window and make user to select the exe. but what i need is this wolud itself start running the exe instead of popping up the window.

              G Offline
              G Offline
              G Haranadh
              wrote on last edited by
              #6

              My windows xp cd is haveing the code which i posted here only. But my xp cd is working fine. I just inserted this cd, I never selected the exe. Automatically CD is running.:rose:


              Nice talking to you. :-O
              If you judge people, you have no time to love them. -- Mother Teresa

              J 1 Reply Last reply
              0
              • G G Haranadh

                My windows xp cd is haveing the code which i posted here only. But my xp cd is working fine. I just inserted this cd, I never selected the exe. Automatically CD is running.:rose:


                Nice talking to you. :-O
                If you judge people, you have no time to love them. -- Mother Teresa

                J Offline
                J Offline
                jeepoo
                wrote on last edited by
                #7

                i am using usb. but its not working. can you help me

                G 1 Reply Last reply
                0
                • J jeepoo

                  i am using usb. but its not working. can you help me

                  G Offline
                  G Offline
                  G Haranadh
                  wrote on last edited by
                  #8

                  Hi you may need to see the settings of your OS. Please check that once. see the message above posted by Mr.Prathuraj once.:)

                  prathuraj wrote:

                  This is not something you can control. Autorun is a feature which users can select to disable or automate from within the OS. This is a security feature for the user.


                  Nice talking to you. :-O
                  If you judge people, you have no time to love them. -- Mother Teresa

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups