Adding an item to context menu, How can write bath command in the string value?Registry setting to add...

A universal method for left-hand alignment of a sequence of equalities

What is the most triangles you can make from a capital "H" and 3 straight lines?

Citing paywalled articles accessed via illegal web sharing

How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?

Book where aliens are selecting humans for food consumption

Is there some relative to Dutch word "kijken" in German?

Checking for the existence of multiple directories

Broken patches on a road

Can you earn endless XP using a Flameskull and its self-revival feature?

What is the wife of a henpecked husband called?

How should I handle players who ignore the session zero agreement?

Why is "points exist" not an axiom in geometry?

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

Disable the ">" operator in Rstudio linux terminal

What does Cypher mean when he says Neo is "gonna pop"?

Quenching swords in dragon blood; why?

Caruana vs Carlsen game 10 (WCC) why not 18...Nxb6?

Why zero tolerance on nudity in space?

What kind of hardware implements Fourier transform?

How can animals be objects of ethics without being subjects as well?

Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?

Why does String.replaceAll() work differently in Java 8 from Java 9?

Does Improved Divine Smite trigger when a paladin makes an unarmed strike?

Can an insurance company drop you after receiving a bill and refusing to pay?



Adding an item to context menu, How can write bath command in the string value?


Registry setting to add underline in context menu for keyboard navigationhelp Add Any Application Shortcut in Desktop Context MenuUnhide Windows 7 context menu extras permanentlyAdd multiple files of one type to the “New” context-menuWindows Context Menu to all files except shortcut fileAdding a new (hidden) “Delete” Context Menu item to Windows 7Smartgit and Windows 8.1 - Context menu integration not workingHow can I add a context menu extension for the root directory?Restore Missing “New” or “New Folder” Option in Desktop and Explorer Context Menu in Windows 7How do i add a cmd delete option to the right click context menu in window 10













0















I flowed the steps from this tutorial, to Adding Cascading Menus for right clicking on the background of Folders and desktop. (in Windows 10)



Section 1: Adding Cascading Menus to open a program.



So, I wrote this reg file.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@="C:\Windows\System32\notepad.exe"


After installing above reg code, the item was added to context menu (see Figure). and if I click on this, It opens notepad.exe program.



Section 2: change command to doing more



I try to change command to something else (like here). but after using same command, it does not work.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@=""CMD" /D /E:ON /c for /F "tokens=1-9 delims=.,\:/" %%A IN ("%%date%%.%%time%%") DO for /F "tokens=*" %%a IN ("%1") do md "%%~dpa\%%A.%%B.%%C %%D;%%E;%%F""
"nullfile"=hex:


** Section 3:** I need to add some items to context menu that creating some empty files, in the current directory.



how can use this command for command section of added context menu.



copy nul ".new file.m"









share|improve this question









New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Please do not say things like “I could not do this” and this “still did not work”. Describe what happened. … … … … … … … … … … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    12 hours ago













  • Also, please tell us what OS version(s) you're working with.

    – music2myear
    11 hours ago
















0















I flowed the steps from this tutorial, to Adding Cascading Menus for right clicking on the background of Folders and desktop. (in Windows 10)



Section 1: Adding Cascading Menus to open a program.



So, I wrote this reg file.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@="C:\Windows\System32\notepad.exe"


After installing above reg code, the item was added to context menu (see Figure). and if I click on this, It opens notepad.exe program.



Section 2: change command to doing more



I try to change command to something else (like here). but after using same command, it does not work.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@=""CMD" /D /E:ON /c for /F "tokens=1-9 delims=.,\:/" %%A IN ("%%date%%.%%time%%") DO for /F "tokens=*" %%a IN ("%1") do md "%%~dpa\%%A.%%B.%%C %%D;%%E;%%F""
"nullfile"=hex:


** Section 3:** I need to add some items to context menu that creating some empty files, in the current directory.



how can use this command for command section of added context menu.



copy nul ".new file.m"









share|improve this question









New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Please do not say things like “I could not do this” and this “still did not work”. Describe what happened. … … … … … … … … … … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    12 hours ago













  • Also, please tell us what OS version(s) you're working with.

    – music2myear
    11 hours ago














0












0








0








I flowed the steps from this tutorial, to Adding Cascading Menus for right clicking on the background of Folders and desktop. (in Windows 10)



Section 1: Adding Cascading Menus to open a program.



So, I wrote this reg file.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@="C:\Windows\System32\notepad.exe"


After installing above reg code, the item was added to context menu (see Figure). and if I click on this, It opens notepad.exe program.



Section 2: change command to doing more



I try to change command to something else (like here). but after using same command, it does not work.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@=""CMD" /D /E:ON /c for /F "tokens=1-9 delims=.,\:/" %%A IN ("%%date%%.%%time%%") DO for /F "tokens=*" %%a IN ("%1") do md "%%~dpa\%%A.%%B.%%C %%D;%%E;%%F""
"nullfile"=hex:


** Section 3:** I need to add some items to context menu that creating some empty files, in the current directory.



how can use this command for command section of added context menu.



copy nul ".new file.m"









share|improve this question









New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I flowed the steps from this tutorial, to Adding Cascading Menus for right clicking on the background of Folders and desktop. (in Windows 10)



Section 1: Adding Cascading Menus to open a program.



So, I wrote this reg file.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@="C:\Windows\System32\notepad.exe"


After installing above reg code, the item was added to context menu (see Figure). and if I click on this, It opens notepad.exe program.



Section 2: change command to doing more



I try to change command to something else (like here). but after using same command, it does not work.



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellNew2]
"MUIVerb"="Apps"
"SubCommands"="createblankfile"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfile]
@="createblankfile"
"icon"="notepad.exe"

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellcreateblankfilecommand]
@=""CMD" /D /E:ON /c for /F "tokens=1-9 delims=.,\:/" %%A IN ("%%date%%.%%time%%") DO for /F "tokens=*" %%a IN ("%1") do md "%%~dpa\%%A.%%B.%%C %%D;%%E;%%F""
"nullfile"=hex:


** Section 3:** I need to add some items to context menu that creating some empty files, in the current directory.



how can use this command for command section of added context menu.



copy nul ".new file.m"






context-menu






share|improve this question









New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 min ago







mostafa a













New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









mostafa amostafa a

11




11




New contributor




mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






mostafa a is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2





    Please do not say things like “I could not do this” and this “still did not work”. Describe what happened. … … … … … … … … … … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    12 hours ago













  • Also, please tell us what OS version(s) you're working with.

    – music2myear
    11 hours ago














  • 2





    Please do not say things like “I could not do this” and this “still did not work”. Describe what happened. … … … … … … … … … … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.

    – Scott
    12 hours ago













  • Also, please tell us what OS version(s) you're working with.

    – music2myear
    11 hours ago








2




2





Please do not say things like “I could not do this” and this “still did not work”. Describe what happened. … … … … … … … … … … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.

– Scott
12 hours ago







Please do not say things like “I could not do this” and this “still did not work”. Describe what happened. … … … … … … … … … … … … … … … … … … … … Please do not respond in comments; edit your question to make it clearer and more complete.

– Scott
12 hours ago















Also, please tell us what OS version(s) you're working with.

– music2myear
11 hours ago





Also, please tell us what OS version(s) you're working with.

– music2myear
11 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






mostafa a is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1410554%2fadding-an-item-to-context-menu-how-can-write-bath-command-in-the-string-value%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








mostafa a is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















mostafa a is a new contributor. Be nice, and check out our Code of Conduct.













mostafa a is a new contributor. Be nice, and check out our Code of Conduct.












mostafa a is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1410554%2fadding-an-item-to-context-menu-how-can-write-bath-command-in-the-string-value%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...