Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: i.oana
| Femeie 20 ani Bucuresti cauta Barbat 20 - 45 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
1. Open regedit 2. Navigate to: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths or HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths 3. Create a sub-key with the same name as your executable, or any desired name you wish to write under Run, including the .exe extension - for example a key named: AIMP.exe or just A.exe for the same program 4. Edit the Default and as value add the full path of the executable file, eg: C:\Program Files (x86)\AIMP\AIMP.exe 5. Add a new String entry and name it Path and set its value to C:\Program Files (x86)\AIMP 6. Now open Start - Run and write your executable name, no exe required and press enter - eg. aimp
Source - Even if it says "in Windows XP", it works even in Windows 10.
Key word 1: HKEY_LOCAL_MACHINE Key word 2: HKEY_CURRENT_USER
_______________________________________
|
|
pus acum 5 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
Note:
You can do this to open other files not just executable files. For example if you want to open a .DOCX file from Start - Run, just create a key with the desired Start - Run shortcut (eg. doc) and add an .exe to its name.
For example, if I wanted to open the file D:\My Documents\Useful Stuff\Word\Shortcuts.docx via Start - Run, then I would have to:
1. Create a new Key at the path from no. 2 in the post above 2. Name it, for example doc.exe 3. Under (Default) write the full path of the docx file, eg. D:\My Documents\Useful Stuff\Word\Shortcuts.docx 4. Create a string called Path and as its value use: D:\My Documents\Useful Stuff\Word
Now just Start - Run - doc - enter
_______________________________________
|
|
pus acum 5 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
If you want to open a folder with a start menu command, you will have to create a shortcut to that folder and then add it.
For example:
regedit key name: app.exe (Default) is C:\Shortcuts\AppData.lnk
=> run shortcut will be app => app will open C:\Users\Mrrrr\AppData
_______________________________________
|
|
pus acum 4 ani |
|
TRaP
Moderator
Inregistrat: acum 6 ani
Postari: 787
|
|
If you want to open a Windows 8-10 (Store) App, you need to first gain access to the WindowsApps folder located in C:\Program Files.
You can't do that the normal way, you must go through the security tab.
1. Write the following address into the Windows Explorer address bar and press ENTER C:\Program Files\WindowsApps
2. A message box will appear: "You have been denied permission to access this folder"
3. Click on the "security tab" link in that message box
4. Click on the Advanced button
5. Click on Continue and enter User and Password if required
6. Near Owner: TrustedInstaller click on the Change link
7. You will now have to give yourself permission, and you can do so by changing the Owner from TrustedInstaller to your name. Do note that, as an example, I have given myself complete blanket permissions, but you may give yourself limited permission as are required, by editing the permissions entries from its settings.
8. You may click on the desired entry and click View to see the individual permission entries and make changes there too. You will have to change the Principal / Owner first, however.
9. To do so, click on Change in the earlier step and enter the object name and click on Check Names too, as this will check if you have entered the name correctly, and correct it, if you haven’t. Click on OK button.
10. In the list click on TrustedInstaller and then on the View button.
11. Close the boxes that appear, then close all the security windows and the Windows Explorer window.
12. Navigate again to C:\Program Files\WindowsApps and open it.
Why all this security? Any hacker or malware that gains access to this folder, could potentially modify the apps source code maliciously. So it might be a good idea to change the permissions back to their defaults, after you have completed your work. To do this, you have to simply reverse or undo the changes you made in the Advanced Security Settings.
Source with images:
|
|
pus acum 4 ani |
|
TRaP
Moderator
Inregistrat: acum 6 ani
Postari: 787
|
|
Powershell option, without the need of special permissions:
1. Open Powershell
2. With cd command go to a folder where you can create files in, eg. C:\Users\YOURUSER\Desktop
3. Type the following and press ENTER: Get-AppxPackage >apps.txt
4. Open the apps.txt file from Desktop
5. Look for the InstallLocation field, or search for the name of your app. If you can't find it by name, open your app and try to find it's version number. Eg. I downloaded an app called Calculator + because I need to use brackets and the Windows Calculator won't allow me to do that. The app isn't registered with the name "Calculator" so I opened it, clicked on the 3 horizontal lines in the top left and then on the Settings button There I went in the about section andd found out that the version is 4.1.7507 I searched that version in the apps.txt file saved at pt. 3 above, and found out the app's name is 14385JonasZoche.Rechner Keep in mind the PublisherId value, in my case it is 7yjengah4ymn8
6. From the InstallLocation field, I copied the address and pasted it in the address bar of a Windows Explorer window and hit ENTER.
7. In the folder, right click the AppxManifest.xml file and open it with Notepad. Make sure you don't edit anything and don't save the file, just close it when you're done finding the desired information.
8. You're now looking for two things: - the package identity (Identity Name) - it's located in the first few rows of text in the file - in my case it is 14385JonasZoche.Rechner - the application identity (Application Id followed by Executable). Some packages can have more than one application, so check the Executable is what you'd expect - in my case it is just one: Application Id="App" Executable="Rechner + UWP.exe"
To sum up, the information I need and have until now is:
PackageIdentity: 14385JonasZoche.Rechner PublisherId: 7yjengah4ymn8 ApplicationIdentity: App
9. You can now start - run and type the following to open the app: shell:AppsFolder\<PackageIdentity>_<PublisherId>!<ApplicationIdentity>
In my example this is: shell:AppsFolder\14385JonasZoche.Rechner_7yjengah4ymn8!App
I paste this in Start - Run and press enter and my app opens.
|
|
pus acum 4 ani |
|
TRaP
Moderator
Inregistrat: acum 6 ani
Postari: 787
|
|
To add an app to Start - Run as a shortcut word (eg. CLC, or CALC to replace the Windows Calculator):
1. Open cmd
2. Type: explorer shell:AppsFolder
3. Press enter
4. In the window that opens, find your application and right click on it, then select Create shortcut
5. In the dialog box click on Yes (to create the shortcut on Desktop)
6. Move the shortcut to a desired place and rename it as you desire, I renamed mine CalculatorPlus and put it in D:\ D:\CalculatorPlus.lnk
7. Open regedit
8. Go to key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
9. Create a new Key and name it with the text of your desired Start - Run shortcut, I named mine CALC, then add a .exe in the end CALC.exe
10. Edit (Default) and add the full path to your shortcut, in my case: D:\CalculatorPlus.lnk
11. Create a new String Value and type just the path, without the .lnk file, in my case just D:\
12. Close the Registry Editor.
13. Open Start - Run, type CALC (calc) and press ENTER
Source:
|
|
pus acum 4 ani |
|
TRaP
Moderator
Inregistrat: acum 6 ani
Postari: 787
|
|
Added the option to edit shortcuts only for current user - in case admin is required for Local Machine key.
Here's current user path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\
Create a new key with .exe ending, like: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths\k.exe
Remember, first create a shortcut if you want to open a folder via Start - Run, then in the (Default) String under the k.exe key put the path to that shortcut .lnk file.
|
|
pus acum 2 ani |
|
Mrrrr
AdMiN
Inregistrat: acum 17 ani
Postari: 2228
|
|
Added keywords to post #1 so it shows up when searching HKEY_CURRENT_USER
_______________________________________
|
|
pus acum 2 ani |
|
TRaP
Moderator
Inregistrat: acum 6 ani
Postari: 787
|
|
If you have Outlook, creating an email from command line and/or adding a shortcut for it in Start - Run, syntax is like this:
"C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE" /c ipm.note /m address@email.com?subject=I%20AM%20HERE |
Note the %20 instead of spaces in your email subject.
|
|
pus acum 1 an |
|