XP Posix Net user command with $0

Hello, Hoping a guru can help me out here. I was setting a password in the posix shell on a Windows XP machine. Using the following command:
"net user administrator $0dacAP"
I realize now that the $0 in that password I set did some sort of variable output and am trying to figure out what could have possibly it set the password to instead.
What do you mean by Posix shell on XP? Are you talking about cygwin?

It shouldn't have done anything variable as long as you actually typed this into a command line. Did the password not take?
yes cygwin/posix pretty much the same... But I figured it out. adding $0 actually is a script for -bash.. So the password I submitted $0dacAP was actually transformed to -bashdacAP
Topic archived. No new replies allowed.