Windows 10: Passing argument to the application does not work

Discus and support Passing argument to the application does not work in Windows 10 Software and Apps to solve the problem; Hello,I found strange behaviour on Windows 11, which caused problems during the application start. I have my own application that accepts some... Discussion in 'Windows 10 Software and Apps' started by Jakub Vana, Jul 17, 2023.

  1. Passing argument to the application does not work


    Hello,I found strange behaviour on Windows 11, which caused problems during the application start. I have my own application that accepts some arguments on the input. I have an association in the registry Computer\HKEY_CLASSES_ROOT\MyApplication.psi\shell\open\command for starting the application execution the association is via file extensions."C:\Program Files x86\ApplicationFolder\MyApplication.exe" -p "%1"But if I am trying to debug my application opening the file with a specific extension, the argument -p path is not passed inside the Main method of the application, where the ar

    :)
     
    Jakub Vana, Jul 17, 2023
    #1
Thema:

Passing argument to the application does not work

Loading...
  1. Passing argument to the application does not work - Similar Threads - Passing argument application

  2. Passing argument to the application does not work

    in Windows 10 Gaming
    Passing argument to the application does not work: Hello,I found strange behaviour on Windows 11, which caused problems during the application start. I have my own application that accepts some arguments on the input. I have an association in the registry Computer\HKEY_CLASSES_ROOT\MyApplication.psi\shell\open\command for...
  3. Microphone does not work with applications.

    in Windows 10 Gaming
    Microphone does not work with applications.: I've had issues with my built-in microphone in my laptop for a while now. I use a Samsung Galaxy Book Pro. The microphone works only in the browser for some reason, and although I do get the icon in my taskbar when I use it with apps, the app cannot detect any audio from the...
  4. Microphone does not work with applications.

    in Windows 10 Software and Apps
    Microphone does not work with applications.: I've had issues with my built-in microphone in my laptop for a while now. I use a Samsung Galaxy Book Pro. The microphone works only in the browser for some reason, and although I do get the icon in my taskbar when I use it with apps, the app cannot detect any audio from the...
  5. Microsoft application does not work

    in Microsoft Windows 10 Store
    Microsoft application does not work: Run wsreset.exe, throwing the error. The problems are: The Microsoft Store does not start at all. To report that when testing the comment hub that one doesn't start at all either. Trying to open Photos throwing an error Can someone help me on this?...
  6. Microsoft application does not work

    in Windows 10 Gaming
    Microsoft application does not work: Run wsreset.exe, throwing the error. The problems are: The Microsoft Store does not start at all. To report that when testing the comment hub that one doesn't start at all either. Trying to open Photos throwing an error Can someone help me on this?...
  7. Microsoft application does not work

    in Windows 10 Software and Apps
    Microsoft application does not work: Run wsreset.exe, throwing the error. The problems are: The Microsoft Store does not start at all. To report that when testing the comment hub that one doesn't start at all either. Trying to open Photos throwing an error Can someone help me on this?...
  8. Pass an argument from a .bat file to PowerShell script

    in Windows 10 Support
    Pass an argument from a .bat file to PowerShell script: I have subscribed to a push notification service in order to be able to send push notifications to my phone. Here is the PowerShell script: Code: $uri = "https://api.pushover.net/1/messages.json" $parameters = @{ token = "token" user = "user" message = "Push Message" }...
  9. Application does not work

    in Windows 10 Software and Apps
    Application does not work: I just bought an application in the microsoft store. but it does not work in any way. I want a refund.. What or where should i do or go for this? https://answers.microsoft.com/en-us/windows/forum/all/application-does-not-work/71f5d53d-0f80-4c4f-af55-22730d2a745e
  10. Pass multiple arguments in a "basic task" in task scheduler.

    in Windows 10 Ask Insider
    Pass multiple arguments in a "basic task" in task scheduler.: In the Add arguments(optional): Can I pass two tasks to perform? add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v AppUsesLightTheme /t REG_DWORD /d 0 /f add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t...