Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


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

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,63661
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> How to execute a file (.exe or .vbs or .bat) when a directory is opened?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 How to execute a file (.exe or .vbs or .bat) when a dir... - 8/20/2008 7:33:52 AM   
  TKS


Posts: 187
Score: 0
Joined: 5/16/2008
Status: offline
Any ideas?
 
 
Post #: 1
 
 RE: How to execute a file (.exe or .vbs or .bat) when a... - 8/21/2008 12:31:25 AM   
  TKS


Posts: 187
Score: 0
Joined: 5/16/2008
Status: offline
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!"

(in reply to TKS)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> How to execute a file (.exe or .vbs or .bat) when a directory is opened? Page: [1]
Jump to:





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
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts