View Single Post
  #2  
Old November 17th 19, 08:52 AM posted to alt.comp.os.windows-10,microsoft.public.windowsxp.general,alt.windows7.general
Lu Wei
external usenet poster
 
Posts: 60
Default What useful Windows shortcuts would you like to share with users?

On 2019-11-4 13:41, Arlen _G_ Holder wrote:
...
What other useful Windows shortcuts would you share with other users?

I normally use bat files. I think they could be rewritten as shortcuts.

Check exe signatures:
@for %%i in (%*) do "d:\green\sigcheck.exe" -q %%i | find "Verified"
pause

Verify gpg signatures:
"C:\Program Files\GNU\GnuPG\gpg2.exe" --verify %1
pause

Compare 2 text files:
"C:\green\windiff.exe" %1 %2

Copy the bat above to "%HOMEDRIVE%%HOMEPATH%\SendTo" for context menu
calling.

Switch to automatically acquired IP address (replace name if needed):
netsh interface ip set address name="本地连接" source=dhcp
netsh interface ip set dns name="本地连接" source=dhcp
netsh interface ip set wins name="本地连接" source=dhcp
pause

Switch to static IP address (replace name and addresses if needed):
netsh interface ip set address name="本地连接" source=static
addr=10.121.40.27 mask=255.255.255.0 gateway=10.121.40.254 gwmetric=1
netsh interface ip set dns name="本地连接" source=static addr=10.121.2.11
netsh interface ip add dns name="本地连接" addr=10.121.2.12 index=2
netsh interface ip set wins name="本地连接" source=static addr=10.121.2.11
netsh interface ip add wins name="本地连接" addr=10.121.2.12 index=2
rem netsh interface ip add wins name="本地连接" addr=10.20.30.206 index=3
pause



--
Regards,
Lu Wei
IM:
PGP: 0xA12FEF7592CCE1EA
Ads