Windows 10: Need syntax for changing screen resolution using parameter in Target field of desktop shortcut

Discus and support Need syntax for changing screen resolution using parameter in Target field of desktop shortcut in Windows 10 Gaming to solve the problem; I want to know what the syntax is to change the desktop resolution from within a shortcut on the desktop. It's a parameter that follows the .exe... Discussion in 'Windows 10 Gaming' started by Kevin Kitts, Sep 13, 2023.

  1. Need syntax for changing screen resolution using parameter in Target field of desktop shortcut


    I want to know what the syntax is to change the desktop resolution from within a shortcut on the desktop. It's a parameter that follows the .exe location in the Target field of the desktop shortcut. I need to know what the parameter is to change the screen resolution and how to put it into the Target field correctly.For instance: "C:\foo\blah.exe -x1920x1080".I'm running a 4K desktop, and if I change my screen resolution for everything, it'll ruin everything I've set up. I only want to change the resolution for that program, and to only do it loading the program in the shortcut, not change

    :)
     
    Kevin Kitts, Sep 13, 2023
    #1
  2. Jack Wong Win User

    Disable shortcut target field

    I am using AutoIT to create shortcut to desktop and also will forced to launch as kiosk by adding the parameter at the end of the target field. But how can I disable the target field from editing when creating shortcut?

    Please kindly advise.

    EDIT

    Window Explorer View

    Permission Setting
     
    Jack Wong, Sep 13, 2023
    #2
  3. RickC Win User
    Registry target field

    The information about a shortcut's target field is not stored in the registry; like the shortcut's other properties, it's stored internally as 'Target path' metadata in the .LNK file itself.

    You can view (but not amend) .LNK file metadata using digital forensic software tools like Belkasoft Evidence Center.

    To amend the metadata programmatically, try using PowerShell. This old Change Shortcut Target path - Powershell TechNet post shows how to use WSHShell to write the TargetPath parameter.

    Hope this helps...
     
    RickC, Sep 13, 2023
    #3
  4. Need syntax for changing screen resolution using parameter in Target field of desktop shortcut

    Screen Resolution

    Hi Daniel,



    Thank you for posting in Microsoft Community.

    I understand that you have a few doubts regarding your Windows 10 screen resolution. Let me help you.




    • Do you see any error message or error code on the screen?

    • What is the model of your computer?

    • Are you able to access the modern apps?


    I suggest you to update the Display Adapter Drivers

    Step 1: Update the Display Adapter driver.

    • Press Windows key + X key when you are at desktop.
    • Select Device Manager.
    • Expand Display Adapter.
    • Right on the Display Adapter and click on
      Update driver software.
    Refer to: How
    to: Install and Update drivers in Windows 10




    Step 2: Please follow the below steps to change the resolution of the screen and check:

    • Type Change screen resolution in the
      Search
      box from the desktop.
    • Under Resolution search for the Recommended resolution and click on
      Apply.
    • A windows pops up saying "Keep these display settings", then select
      Keep changes.


    I hope the issue will be resolved. Please reply with the updated status of the issue. We will be happy to assist you accordingly.



    Thank you.
     
    Aswin_Anand, Sep 13, 2023
    #4
Thema:

Need syntax for changing screen resolution using parameter in Target field of desktop shortcut

Loading...
  1. Need syntax for changing screen resolution using parameter in Target field of desktop shortcut - Similar Threads - Need syntax changing

  2. What is the syntax for adding username and password to an existing desktop icon target

    in Windows 10 Software and Apps
    What is the syntax for adding username and password to an existing desktop icon target: What is the syntax for adding username and password to an existing desktop icon target https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-syntax-for-adding-username-and/af9f579a-08bd-4096-8779-86701c6c8d20
  3. What is the syntax for adding username and password to an existing desktop icon target

    in Windows 10 Gaming
    What is the syntax for adding username and password to an existing desktop icon target: What is the syntax for adding username and password to an existing desktop icon target https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-syntax-for-adding-username-and/af9f579a-08bd-4096-8779-86701c6c8d20
  4. Need syntax for changing screen resolution using parameter in Target field of desktop shortcut

    in Windows 10 Software and Apps
    Need syntax for changing screen resolution using parameter in Target field of desktop shortcut: I want to know what the syntax is to change the desktop resolution from within a shortcut on the desktop. It's a parameter that follows the .exe location in the Target field of the desktop shortcut. I need to know what the parameter is to change the screen resolution and how...
  5. Shortcuts to change desktops

    in Windows 10 Software and Apps
    Shortcuts to change desktops: Ctrl + Win + arrow keys right and left used to switch desktops. Now they are behaving like Ctrl + Alt + arrow keys used to behave. Is this another Microsoft "improvement"? I believe this new behavior arrived with the latest update....
  6. Shortcuts to change desktops

    in Windows 10 Gaming
    Shortcuts to change desktops: Ctrl + Win + arrow keys right and left used to switch desktops. Now they are behaving like Ctrl + Alt + arrow keys used to behave. Is this another Microsoft "improvement"? I believe this new behavior arrived with the latest update....
  7. Need admin permission to change desktop shortcut icons?

    in User Accounts and Family Safety
    Need admin permission to change desktop shortcut icons?: When I try to change a shortcut icon on my desktop I get:- [img] This despite the fact that I am admin, I own the desktop, and have full access. 170295
  8. Need admin permission to change desktop shortcut icons?

    in Windows 10 Performance & Maintenance
    Need admin permission to change desktop shortcut icons?: When I try to change a shortcut icon on my desktop I get:- [img] This despite the fact that I am admin, I own the desktop, and have full access. 170295
  9. Use clipboard contents in shortcut target

    in Windows 10 Network and Sharing
    Use clipboard contents in shortcut target: Hello, I need to have the part of the target in my shortcut change automatically with my clipboard contents. How could I achieve this? https://answers.microsoft.com/en-us/windows/forum/all/use-clipboard-contents-in-shortcut-target/5824a36f-5f83-48a6-aa5f-f559aa8487b2
  10. Screen Turns Off and Desktop Resolution Changes

    in Windows 10 Graphic Cards
    Screen Turns Off and Desktop Resolution Changes: The title probably could use some work. Feel free to edit, anyone, if you know a better one. Here's the deal: I've got a big monitor running the recommended 3840 x 2160 resolution. I have items all over my desktop that I am working with. If I let the screen sleep...