1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Autorunning a batch file on download

Discussion in 'Ethical hacking' started by drut, Jun 25, 2008.

  1. drut

    drut New Member

    I was wondering if there is a command that makes a, say a shutdown batch file to autorun when downloaded. Or is there a way to make it autorun on login.
    Thanks :)
     
  2. shabbir

    shabbir Administrator Staff Member

    If he is downloading he will always have couple of options

    1. Save
    2. Run

    If he chooses save there is no way you can run it unless user click on it.
     
  3. microapple

    microapple Banned

    You know transfrering/distributing .bat files over the internet is illegal. So I would find a converter and convert your .bat file to a .exe file. .exe files are much easier to set as a auto-run plus they're totally legal as far as I'm concerened... :crowd:
    An auto-run at login is different.
    You have to reun the .bat file with a code that is like,
    move/copy C:\Your file.bat C:\Documents and Settings\my user (or all users)\Start Menu\Programs\Startup
    Once you run this it will put your .bat in the starup folder and It *should* run on startup!
    Hope this helps!
     
  4. drut

    drut New Member

    How would I go about making an .exe file that can auto-run? Good info though, thanks
     
  5. microapple

    microapple Banned

    no prob!
     
  6. microapple

    microapple Banned

    You can't... :embarasse ... BUT :undecided You can hope or even btr make tutorial on how to install and say something like:

    When it asks you to save/run it is very important that you click run or program x will not function correctly.

    Say something like that. It depends on what level of experience you are targeting. I don't know your circumstances, but trying to make the user run the file might defeat the whole purpose...
     
  7. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

    look under my undetectable batch file there is a link to a download converter to convert your .bat files
     
  8. microapple

    microapple Banned

    most .bat converters work quite well and allow a lot of customization. :nice:
     
  9. GreenGrass

    GreenGrass New Member

    But the pages you download them from are always red with McAfee siteadvisor :p
     
  10. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

    my converter is not a viruse its virus free go check it out
     
  11. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

  12. GreenGrass

    GreenGrass New Member

    Yeah thanks mate.. nbinder Pro right ?
     
  13. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

Share This Page