file .bat for mac

Joined
Oct 10, 2011
Messages
3
Reaction score
0
Points
1
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
Thanks
 
OP
S
Joined
Oct 10, 2011
Messages
3
Reaction score
0
Points
1
thanks

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...
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Code:
./VLC.app/Contents/MacOS/VLC ./VIDEO_TS/VIDEO_TS.IFO
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.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top