Shortcut to a directory with a bat file and a sub directory containing the same name

Check this out.
Make a directory structure like this:

Dir
Dir/AnotherDir
Dir/anotherdir.bat

Fill the .bat file with something creative… (Non destructive)

Now, make a shortcut from anywhere to Dir/AnotherDir – lemme guess, it tries to name the shortcut after the bat file? Odd! Rename it in the prompt then.

Save your shortcut and try to use it. Lemme guess, executed the bat file?

See below if you’re too lazy to try ;)

No Comments

Start the ball rolling by posting a comment on this article!

Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">