Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Administrative user doesn’t write registry settings in HKEY_CURRENT_US

Featured Replies

  • Author

Actually there is nothing particularly complex in the above batch.

 

It is a rather basic use of FOR .

 

See these pages:

http://www.robvanderwoude.com/ntfor.php

http://www.robvanderwoude.com/ntfortokens.php

 

The first FOR loop simply runs through all the items of the list, which I created by simply replacing "=" with = in the list you posted on #23:

http://www.msfn.org/board/topic/173033-administrative-user-doesn’t-write-registry-settings-in-hkey-current-user/#entry1089363

giving to the %%A variable the value of items in the list.

The second FOR loop uses the /F switch and tokens and delims to separate the first part (name) from the second part (value), assigning them to the variable %%B and %%C.

 

This is a slightly more complex (or simplified :unsure:) version of the same batch, this time using a single FOR /F loop and some piping:

 

 

Thanks a lot. I'm trying.


Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.