Note: Those who want to try out the executables in the examples below, feel free to follow the link to download from their official websites (and may need to install), or download from my GoogleDrive link (64-bit only, extracted from my installation folder, so no need to install and no virus - GoogleDrive's cloud-based virus scan will prove it

Example 1: *CMD /K CD /D [directory]: Launch CMD with elevated right

Code: Select all
(Works for path with spaces)
buttonNN=%COMSPEC%
cmdNN=*%COMSPEC% /K
paramNN=CD /D "%P"
(Works for path with spaces)
buttonNN=%COMSPEC%
cmdNN=*%COMSPEC% /K
paramNN=CD /D %P

Code: Select all
(Works for path with spaces)
buttonNN=FolderTimeUpdate.exe
cmdNN=FolderTimeUpdate.exe
paramNN=/BaseFolder "%P"
(Doesn't work for path with spaces; path truncated)
buttonNN=FolderTimeUpdate.exe
cmdNN=FolderTimeUpdate.exe
paramNN=/BaseFolder %P

Code: Select all
(Doesn't work for path with spaces - error out)
buttonNN=WinRAR.exe
cmdNN=WinRAR.exe
paramNN="%P"
(Doesn't work for path with spaces - error out)
buttonNN=WinRAR.exe
cmdNN=WinRAR.exe
paramNN=%P