Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to force the execution of a command on my external HDD Usb, without waiting that Windows XP provide me the context with all possible choices.

Do you now if it is possible with some tweaking or registry or autorun.inf self?

This is the content of my autorun.inf

[autorun]
open=Synch.cmd
action=Setup RAM Drive
icon=dos.ico
label=Setup RAM Drive

I needed it for automatic synchronizations of drives and it is really annoying to wait every time that Windows XP index all the content of the drive

share|improve this question
    
I'm not fully sure (so I won't write as an answer), but I have at same time an autorun.inf on my external hd (mostly for icon) which is executed, and at same time I don't have anymore the scan from xp. So there is a way to do that, for sure. I forgot though how to deactivate this scanning on new hdd, though. –  Gnoupi Jan 19 '10 at 16:10
    
Actually, I remember now. Autorun is simply deactivated, but it doesn't prevent icon from being changed, only the "open". So it wouldn't work for you. –  Gnoupi Jan 19 '10 at 16:13

1 Answer 1

There is no connection between the Index service and the execution of autorun.inf. The problem might be that the Indexing service slows down all accesses to the USB disk.

Normally USB devices are not indexed before autorun, so your question is a bit puzzling. It might be that the slow-down is due to other reasons, such as an antivirus product.

Your .inf file seems complete to me, although I usually don't specify the "action" parameter, which is used only in the autorun menu that you mention above.

Below are some excellent treaties from wikipedia as regarding:
Autorun.inf
AutoRun

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.