Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the correct code to open a program inside another folder using autorun? say the computer assigns the drive as D:, and thus the program would be at D:\folder\program.exe then would the command be



share|improve this question

migrated from Dec 28 '10 at 2:41

This question came from our site for professional and enthusiast programmers.

Try asking this question on the superuser site. This isn't a programming question. – David Dec 28 '10 at 0:48

That doesn't work because . or nothing maps to the current folder.

I would think it would just be:


\ maps to the root, watch out because this could map through the system drive though.

To be sure, you might want to use:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.