View Single Post
  #224  
Old 09-03-2012, 10:28
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by leo95 View Post
I followed the steps but does not open even the autorun.exe

[autorun]
open=Autorun.exe, open=(Leer.txt)
icon=Sims3EP06.ico
thanks
I was trying to remember from memory... not a good idea at my age LOL

it actually need a shellexecute to open the text file..
IE:
ShellExecute=datafile - Specifies an application or data file that is to be opened. Windows will launch the application associated with that file type to open the datafile.

So for your example.
Code:
[autorun]
open=Autorun.exe
icon=Sims3EP06.ico

ShellExecute=Leer.txt
icon=Leer.txt
NOTE: ShellExecute does not work under win95/98.