How to execute a file (.exe or .vbs or .bat) when a directory is opened?

Author Message
TKS

  • Total Posts : 188
  • Scores: 0
  • Reward points : 0
  • Joined: 5/16/2008
  • Status: offline
How to execute a file (.exe or .vbs or .bat) when a directory is opened? Wednesday, August 20, 2008 8:33 AM (permalink)
0
Any ideas?
 
#1
    TKS

    • Total Posts : 188
    • Scores: 0
    • Reward points : 0
    • Joined: 5/16/2008
    • Status: offline
    RE: How to execute a file (.exe or .vbs or .bat) when a directory is opened? Thursday, August 21, 2008 1:31 AM (permalink)
    0
    Mmmkay... in that case, I'll start off with an idea!

    Autostart .ini's and .inf's. These can be used to autorun applications. I'm not sure if they can be used normally, as on the computer, but I do know they can be used on CDs.

    Any ideas, now? ...

    This ini-inf autostart application on CD is quite a revolutionary idea, me thinks. However, on Vista, this autorun capability seams to blocked. What a pitty, but with all these STUPID RETARDED GAY viruses on the internet, Microsoft doesn't really have a choice.

    Having said that, I'm curious as to whether there is a way of executing, say, a "".vbs"" script when a directory has been opened or is being viewed.

    I might want to prevent people from opening a specific directory / altering important files. In which case, I'd have something that autoruns a script to close the directory on attempt of open / boot the users out! That would be very very cool. And on boot, ping them a message : "Access denied!" Or, even better. Much much much better.... would be to prompt them with a security password! "Access Denied! Requesting Password Verification!"
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9