Results 1 to 5 of 5
  1. #1

    Member Since
    Oct 10, 2011
    file .bat for mac
    Hi, I need to convert a. Bat file to mac to start a portable application from usb stick.
    This is the code to convert::
    start \VLCPortable\VLCPortable.exe /VIDEO_TS\VIDEO_TS.IFO
    The question is: how to convert the code and how should I call the file?
    Obviously, then I'll replace the file VLCPortable.exe with a portable for Mac

  2. #2

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Groves, Texas
    13in macbook - 10.11 --- 21in. iMac 10.11 --- HP win 8
    What you need is a shell script. However, note that a shell script will not run when you insert the usb stick, you have to run it manually.
    Start here: Learn the Linux command line. Write shell scripts..
    That should get you started.
    Always listen to experts. They’ll tell you what can’t be done and why. Then do it!
    -Lazarus Long

  3. #3

    Member Since
    Oct 10, 2011
    Thanks for the answer, but I'm not so good in programming, can you help me translating:
    start \VLCPortable\VLCPortable.exe /VIDEO_TS\VIDEO_TS.IFO
    in a shell script
    Thank you...

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    2012 13" MBP (2.5 i5, 8GB)
    That should do the trick. Save it with the extension "sh" and you should be good to go.

    That will work if the VLC app bundle is in the same directory as the shell script.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5

    Member Since
    Oct 10, 2011
    Thank you, you solved my problem
    Thanks again

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to execute *.bat file in Mac
    By Camy in forum Switcher Hangout
    Replies: 5
    Last Post: 08-13-2013, 10:39 AM
  2. running a .bat on mac os x
    By doubleormuffin in forum OS X - Operating System
    Replies: 3
    Last Post: 04-18-2012, 10:37 AM
  3. Can you run .bat files on a mac?
    By tomelk31 in forum Switcher Hangout
    Replies: 10
    Last Post: 10-16-2011, 11:50 AM
  4. Folder/.bat file that will delete and write 0's?
    By ImageX in forum Running Windows (or anything else) on your Mac
    Replies: 1
    Last Post: 09-26-2011, 09:17 PM
  5. Create a .bat type file for OS X
    By dbUSMC in forum OS X - Operating System
    Replies: 3
    Last Post: 09-12-2007, 03:48 PM

Posting Permissions

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