Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts

    autosrat CD script code

    Hi, I have a exe file that i would like to open on auto start..

    has anyone got a script i can use for this.. i would like to run it on a PC and also a Mac ,,,, but i am also wondering will a .exe file run on a mac with an auto start or will there be some code that can determine if the machine being used is a mac or Pc..

    many thnaks chris
    <marquee>thanks</marquee>

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Have a look at this article:
    http://www.phdcc.com/shellrun/autorun.htm
    it tells you how to run a program on the insertion of a cd (basically what you're looking to do)

    And in terms of your other query, you can't run Exe's on OS X seeing as it's a Windows executable. Also, the bottom of the article I've given you above there has a bit about running autorunning programs on Macs.

    If you want to run your program on OS X, you'd have to re-write it for the Mac platform - that's the only way I can see you doing it.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •