Results 1 to 2 of 2
  1. #1

    Member Since
    Aug 04, 2007
    Windows Shortcut Commands
    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:

    "Cdirectory\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!

  2. #2

    Member Since
    Mar 30, 2004
    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 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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. View All windows shortcut?
    By ChrisAHF in forum OS X - Operating System
    Replies: 4
    Last Post: 10-30-2008, 11:19 PM
  2. Anyone know of a shortcut to boot into Windows from OS X?
    By mynameis in forum Running Windows (or anything else) on your Mac
    Replies: 4
    Last Post: 11-18-2007, 12:34 AM
  3. Shortcut to toggle Windows Sharing
    By tyson0016 in forum OS X - Operating System
    Replies: 2
    Last Post: 11-14-2007, 11:34 PM
  4. What shortcut commands are available on the keyboard?
    By dead of night in forum Switcher Hangout
    Replies: 1
    Last Post: 12-27-2006, 09:42 AM
  5. shortcut keys switching windows
    By supenguin in forum Switcher Hangout
    Replies: 1
    Last Post: 02-07-2004, 04:32 AM

Posting Permissions

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