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.

net user password change w/ special characters

Featured Replies

Here is what I am currently using in a batch file:

net user <username> <password>

my problem is that once in a while the password has special characters in it (like spaces, &, etc). It causes the command to set passwords different from what was intended. Is there a way to have such passwords using net user?

I had this problem too. I couldn't find a way around it either. In the end I had to make the passwords simpler.

  • Author
I had this problem too. I couldn't find a way around it either. In the end I had to make the passwords simpler.

I think my way around this is to write a c++ program instead of a batch file.

  • Author

here is a special trick i just figured out:

net user <username> "<password>"

works like magik.

  • Author

Well I am not a big batch scripter, so help me out here. I know that when you call a program from a command line the OS sends the parameters as an array of strings to the program. So when I put quotes around ANYTHING at the command line, does the OS detect that and consider it one parameter, and hence the program itself receives it as one parameter? That would explain why I couldn't find ANY documentation regarding using quotes with the net user command.

Yeah, as far as I know quote behaviour is standard to the OS, so it should do that for everything.

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.