| 
				
					| 
							Mrrrr
							AdMiN
							  Inregistrat: acum 18 ani 
							Postari: 2310
						 |  | 
				
					| Do you want to add New Folder / New Text File to the MAIN context menu? By MAIN I mean right click and select New Folder or New Text File, without having to right click -> new -> text file. 
 SEE LAST POST FOR AN AUTOHOTKEY WAY, WHICH IS BETTER.
 
 Sources:
 
 Create New Folder in right click context menu insider folder and on desktop, without having to go through the cascaded New menu - make a .reg file with the following:
 
 
 | Windows Registry Editor Version 5.00 
 ; Created by: Shawn Brink
 ; Created on: August 31st 2019
 ; Tutorial: https://www.tenforums.com/tutorials/139598-add-remove-new-folder-context-menu-windows-10-a.html
 
 [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.newfolder]
 "CanonicalName"="{E44616AD-6DF1-4B94-85A4-E465AE8A19DB}"
 "CommandStateHandler"="{3756e7f5-e514-4776-a32b-eb24bc1efe7a}"
 "CommandStateSync"=""
 "Description"="@shell32.dll,-31237"
 "Icon"="shell32.dll,-319"
 "ImpliedSelectionModel"=dword:00000004
 "InvokeCommandOnSelection"=dword:00000000
 "MUIVerb"="@shell32.dll,-31236"
 "Position"="Last"
 | 
 
 Create New Text File in right click context menu insider folder and on desktop, without having to go through the cascaded New menu - make a .reg file with the following:
 
 
 | Windows Registry Editor Version 5.00 
 ; Source:
 ; Credits: Anubis84
 
 [HKEY_CURRENT_USER\Software\Classes\Directory\shell\NewTextFileAndOpen]
 @="New Text File"
 "Icon"="C:\\Windows\\System32\\shell32.dll,70"
 
 ;;;;;;; NOTE: below icon is REG_EXPAND_SZ and it was a link to an icon between "", like: "C:\Icons\Icon.ico"
 ;;;;;;; "Icon"=hex(2):22,00,43,00,3a,00,5c,00,74,00,6f,00,6f,00,6c,00,73,00,5c,00,5f,\
 00,49,00,43,00,4f,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,\
 69,00,63,00,6f,00,22,00,00,00
 
 [HKEY_CURRENT_USER\Software\Classes\Directory\shell\NewTextFileAndOpen\command]
 @="cmd /c cd %V & echo.>NewTextFile_%%random%%_%%date%%.txt"
 
 ;;;;;;; NOTE: command below also has the option to start the newly created text file
 ;;;;;;; @="cmd /c cd %V & echo.>NewTextFile.txt & start NewTextFile.txt"
 
 [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\NewTextFileAndOpen]
 @="New Text File"
 "Icon"="C:\\Windows\\System32\\shell32.dll,70"
 
 ;;;;;;; NOTE: below icon is REG_EXPAND_SZ and it was a link to an icon between "", like: "C:\Icons\Icon.ico"
 ;;;;;;; "Icon"=hex(2):22,00,43,00,3a,00,5c,00,74,00,6f,00,6f,00,6c,00,73,00,5c,00,5f,\
 00,49,00,43,00,4f,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,\
 69,00,63,00,6f,00,22,00,00,00
 
 [HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\NewTextFileAndOpen\command]
 @="cmd /c cd %V & echo.>NewTextFile_%%random%%_%%date%%.txt"
 
 ;;;;;;; NOTE: command below also has the option to start the newly created text file
 ;;;;;;; @="cmd /c cd %V & echo.>NewTextFile.txt & start NewTextFile.txt"
 | 
 
 _______________________________________
 
  
 
 |  |