Computing.Net > Forums > Windows XP > Execute Autorun.inf via Command CMD

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Execute Autorun.inf via Command CMD

Reply to Message Icon

Name: mkruluts
Date: December 30, 2008 at 14:21:26 Pacific
OS: Windows XP
CPU/Ram: Celeron
Product: Ibm / LENOVO
Comment:

For some reason the autorun script only works right with the autoplay feature with removable storage, it wouldn't work if I just simply double click setupSNK.exe. How might I force the autoplay feature on a directory with an autorun.inf file using command line, If I simply use the 'Start' or 'Call' feature in my .bat file it just opens the Autorun.inf file for editing, I would simply like to execute the autorun.

The script:
[autorun]
OPEN=setupSNK.exe
ICON=\SMRTNTKY\fcw.ico
ACTION=Wireless Network Setup Wizard

Is there anyway to run this effectively or force the autoplay on a specified directory with a autorun.inf through the command line?
If any of this makes sence please help, Questions like this have been asked before, however never answered... so I am hoping its just my searching abilities...



Sponsored Link
Ads by Google

Response Number 1
Name: guapo
Date: December 30, 2008 at 20:19:26 Pacific
Reply:

http://msdn.microsoft.com/en-us/lib...

.inf files are not executed, they are read by the system.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Execute Autorun.inf via Command CMD

Command to generate custom Autorun.inf www.computing.net/answers/windows-xp/command-to-generate-custom-autoruninf/179066.html

How do i delete an autorun.inf that says its www.computing.net/answers/windows-xp/how-do-i-delete-an-autoruninf-that-says-its-/180002.html

Autorun.inf editing www.computing.net/answers/windows-xp/autoruninf-editing/87020.html