autorun from SD card - how to determine the original autorun directory


B

Buthrakaur

Hello, I'm trying to develop an autorun application, which will
perform some actions (copy files, install cabs, setup registry etc)
described in XML file located in the same directory as the autorun.exe
file. The problem is that I'm not able to get path the autorun
application on storage card using something like
Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName -
this returns \Windows\Autorun. It seems that the OS copies the
autorun.exe file to internal memory and then executes it, but then I'm
not able to find out easily where the original autorun.exe file is
located. Is there any better method than searching the storage card
for the original autorun? I tried to search this group, but didn't
found anything dealing with this problem....
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top