A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

What Windwos freeware adds powerful "phone Susan" & "vipw" commands?



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old July 8th 18, 07:23 PM posted to alt.comp.os.windows-10,alt.msdos.batch,microsoft.public.windowsxp.general
Arlen Holder
external usenet poster
 
Posts: 466
Default What Windwos freeware adds powerful "phone Susan" & "vipw" commands?

On 8 Jul 2018 07:02:43 GMT, Paul wrote:

That's the kind of program you write, as a cmd.exe
launcher. The program must be sufficiently sophisticated,
to recognize the set of "objects" you have in mind.
Finding window borders is relatively easy...
The rest, not so much.


Hi Paul,

I admit I don't have the required computerist skills to understand how to
change the INF file below so that the "Open command window here (admin)"
works exactly like the "Open command window here" REG file context menu
entry does.

For example, after loading both the "user cmd" REG file and after loading
the "admin cmd" INF file, neither the "user cmd" or "admin cmd" context
menu entry shows up when I right click in white space on "My PC".
http://img4.imagetitan.com/img.php?image=18_showuphere01.jpg

But when I right click on "C:", the "user cmd" entry shows up,
while the "admin cmd" entry remains dormant:
http://img4.imagetitan.com/img.php?image=18_showuphere02.jpg

Similarly, when I right click in white space inside any one folder,
the "user cmd" shows up but the "admin command" remains hidden:
http://img4.imagetitan.com/img.php?image=18_showuphere03.jpg

Yet, when I right click on a folder, both finally show up:
http://img4.imagetitan.com/img.php?image=18_showuphere04.jpg

And, neither shows up when I right click on a file:
http://img4.imagetitan.com/img.php?image=18_showuphere05.jpg

I already posted the successful REG file, where below is that "Open command
window here (admin)" INF file.

I suspect there are few to no real computerists on this ng who have the
skills (or wish to use them) to prove the entire group's tribal archives
with a modification of that INF file which enables the "open command window
here (admin)" INF to work on any object like the "open command window here"
REG file already does.

Certainly I don't have those computerist skills (maybe Char Jackson has the
skills, or perhaps even Nil, or Diesel, or J.P. Gilliver, or Frank
Slootweg, or Wolf K.).

*** begin CmdHereAsAdmin.inf ***
[version]
signature="$CHICAGO$"

[CmdHereAsAdminInstall]
CopyFiles = CmdHereAsAdmin.Files.Inf
AddReg = CmdHereAsAdmin.AddReg

[DefaultInstall]
CopyFiles = CmdHereAsAdmin.Files.Inf
AddReg = CmdHereAsAdmin.AddReg

[DefaultUnInstall]
DelFiles = CmdHereAsAdmin.Files.Inf
DelReg = CmdHereAsAdmin.DelReg

[SourceDisksNames]
55="Open command window here (admin)","",1

[SourceDisksFiles]
CmdHereAsAdmin.INF=55

[DestinationDirs]
CmdHereAsAdmin.Files.Inf = 17

[CmdHereAsAdmin.Files.Inf]
CmdHereAsAdmin.INF

[CmdHereAsAdmin.AddReg]
HKLM,%UDHERE%,DisplayName,,"%CmdHereAsAdminName%"
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\CmdHereAsAdmin.inf"
HKCR,Directory\Shell\runas,,,"%CmdHereAsAdminAccel %"
HKCR,Directory\Shell\runas\command,,,"%11%\cmd.exe /k cd /d ""%1"""
HKCR,Drive\Shell\runas,,,"%CmdHereAsAdminAccel%"
HKCR,Drive\Shell\runas\command,,,"%11%\cmd.exe /k cd /d ""%1"""

[CmdHereAsAdmin.DelReg]
HKLM,%UDHERE%
HKCR,Directory\Shell\runas
HKCR,Drive\Shell\runas

[Strings]
CmdHereAsAdminName="Open command window here as admin (Uninstall only)"
CmdHereAsAdminAccel="Open command window here (admin)"

UDHERE="Software\Microsoft\Windows\CurrentVersion\ Uninstall\CmdHereAsAdmin"
*** end CmdHereAsAdmin.inf ***
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.