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 get for your free account now!

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
Manufacturer/Model: 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...


Report Offensive Message For Removal

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.


Report Offensive Follow Up For Removal
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

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

File permissions to Autorun.inf ?? www.computing.net/answers/windows-xp/file-permissions-to-autoruninf-/172667.html

autorun.inf to start a defalt progr www.computing.net/answers/windows-xp/autoruninf-to-start-a-defalt-progr/49783.html