Saving a line command as an icon?

  1. Posts : 30
    Windows 10 Pro

    Saving a line command as an icon?

    I want to create an icon on the desktop to launch a program with an included command line switch, starting in a given directory:

    c:\thisprog\xxx\bin\thisprog.exe -x -y

    from directory:

    It seemed that in prior versions of Windows there was a fairly easy way to do this -- i.e. make a shortcut for the executable, then edit the shortcut's properties to insert the command-line switches and the directory to launch it from. However, I'm trying to do this under a new install of Windows 10 Pro, and I'm not finding options like this under Properties after I create the shortcut. Is there a (different) way to do this?
      My Computer

  2. Posts : 42,943
    Win 10 Pro (22H2) (2nd PC is 22H2)

    Hi, for example this shortcut opens explorer showing the desktop folder:
    Saving a line command as an icon?-1.png

    Saving a line command as an icon?-2.png

    Everything is in the Target field in the first screenshot and can be modified.
      My Computers

  3. Posts : 30
    Windows 10 Pro
    Thread Starter

    Thanks. For some weird reason, I wasn't seeing that Shortcut tab after I created the shortcut initially. When I try it again now, though, it's there and easy to edit. Sorry for a question with an obvious answer!
      My Computer

  4. Posts : 42,943
    Win 10 Pro (22H2) (2nd PC is 22H2)

      My Computers


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:33.
Find Us

Windows 10 Forums