Windows Shortcut Commands

Joined
Aug 4, 2007
Messages
3
Reaction score
0
Points
1
Hello All,

In Windows you can add commands to your shortcuts so that the programs they specify can be opened with custom commands. For example, in the Properties for a shortcut you can change the Target to:

"C:\directory\someprogram.exe" -anoption

The hyphenated "anoption" is used when opening the "someprogram".

There's is also the option to change what directory the program is "started in" so that it uses the files located in that directory instead of some other default directory.

How would I do this sort of thing on a Mac? How would I pass command line type options to a program though an alias? Or if not through an alias, how would I open a program that is normally opened by double clicking on an icon with some hyphenated command line options? And then is it possible on a Mac to do the "Start In" thing?

Thanks for the help!
 
Joined
Mar 30, 2004
Messages
4,744
Reaction score
381
Points
83
Location
USA
Your Mac's Specs
12" Apple PowerBook G4 (1.5GHz)
Neither of these really applies on the Mac. Mac applications don't take command-line arguments. (Unix applications on the Mac do...you could use a shell script to pass them in.)

As for "Starting In" a folder...again, doesn't apply. Mac applications don't usually care which folder they're in. If they do, then they simply won't start anywhere else.
 

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