Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sarah.kho

macrumors member
Original poster
Sep 22, 2010
44
0
Hi

I want to pass some parameters to an application which I have its shortcut on my desktop.

In Windows I could have right client on the shortcut goto properties and in the Target textbox I can write the parameter after the software name.

I tried pressing CMD+I and do the same for the application in Mac os but couldnt find anything related to the target...

Thanks.
 
What parameters do you want to add for what application for what purpose? Maybe there is another way to do what you want to do, as there is no equivalent for the Windows option in Mac OS X.
 
The parameter is like --log-dir="/opt/logs/" and I am not sure what other way I can use to pass it on. Its a java application and reads the stuff from command line.

Thanks for the input.
 
One way to do this is to create a bash script, make it executable with the chmod command. The down side is it will open a terminal session when you double-click on it from the finder.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.