0

I know how to create a password generator in command prompt but it only uses numbers. Is there a way to make it generate letters as well? for example, ASDE-DASD-DWAS-AWDS.

mendez
  • 25
  • 1
  • 4

1 Answers1

0

Assuming Linux, try this:

cat /dev/urandom | tr -dc '0-9' | head -c8

Change the last number (8 here) to be how many digits you want.

I have no idea what you're using this for, but this does work. There may be better ways to do what you really want to do.

Brian
  • 733
  • 1
  • 5
  • 11
  • sorry I always forget to mention the OS it is windows vista. why I want to make a generator in cmp is so that I can use it on my friends computer but his com is slow so I don't want to install a program for it. – mendez Oct 21 '11 at 21:36