How to execute shell command outside Run dialog?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MIRKOSOFT
    PCHF Member
    • Aug 2016
    • 203

    #1

    How to execute shell command outside Run dialog?

    Hi!

    I found two very useful commands to display Windows 10 hidden locations:
    shell:startup
    shell:AppsFolder
    First opens folder with startup programs - where is stored each item o startup
    2nd opens folder with shortcuts to Windows New UI apps

    I tried to create link - LNK file or how to name it - don’t know English name, but at creating it reports error - cannot find file/path…
    I tried to use CMD to create BAT file, but again it reports error.
    I tried PowerShelll - again - error
    I can run these commands from Run dialog only.

    How is possible to execute it outside any special feature?
    Shell command I know from Visual Basic only.

    Can anybody help?
    Thank you for each reply.
    Miro
  • Antman
    PCHF Member
    • Oct 2016
    • 316

    #2
    Typical locations
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
    C:\Users[username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

    C:\Program Files\WindowsApps
    is a protected folder

    Comment

    • MIRKOSOFT
      PCHF Member
      • Aug 2016
      • 203

      #3
      Yes, is protected but commands in previous post allow to work with…
      So, Q was how to execute it outside Run dialog?

      Miro

      Comment

      • Antman
        PCHF Member
        • Oct 2016
        • 316

        #4
        explorer β€œC:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp”

        Comment

        • MIRKOSOFT
          PCHF Member
          • Aug 2016
          • 203

          #5
          Yes, this one is not problem, but what with pretected folder.
          I can take ownership, but it can make system not stableand can totally crash - It happened to me one time…

          Miro

          Comment

          • Antman
            PCHF Member
            • Oct 2016
            • 316

            #6
            So, you must make a value decision. What is the benefit of accessing a protected system folder in contrast to the task?

            Comment

            • veeg
              PCHF Director
              • Jul 2016
              • 8977

              #7
              Any updates for us?

              Comment

              • MIRKOSOFT
                PCHF Member
                • Aug 2016
                • 203

                #8
                Not yet finished - I’ll report result.

                Miro

                Comment

                • veeg
                  PCHF Director
                  • Jul 2016
                  • 8977

                  #9
                  Thanks for the update.

                  Comment

                  • phillpower2
                    PCHF Administrator
                    • Sep 2016
                    • 15205

                    #10
                    Any update for us MIRKOSOFT?

                    Comment

                    • phillpower2
                      PCHF Administrator
                      • Sep 2016
                      • 15205

                      #11
                      Any update for us MIRKOSOFT? If unreplied to within 48hrs this thread will be closed.

                      Comment

                      • MIRKOSOFT
                        PCHF Member
                        • Aug 2016
                        • 203

                        #12
                        I found solution not.
                        Maybe anyone can help.
                        Miro

                        Comment

                        • phillpower2
                          PCHF Administrator
                          • Sep 2016
                          • 15205

                          #13
                          Thanks for the update (y)

                          Antman will hopefully get back to you now that he knows you are still around.

                          Comment

                          Working...