Results 1 to 5 of 5
  1. #1
    Experienced User
    Overall activity: 0%

    Join Date
    Nov 2009
    Location
    A live-able place.
    Posts
    386
    Liked
    53 times
    Points
    12,670

    Post Help with revising this command!

    Hi guys!
    I need help with this command:
    Code:
    @echo off
    Color 0a
    net user user * 
    msg * User: 'user' has no password.
    What I want to do is make the command automatic by making it to a batch file and work flawlessly... The problem is that after the "net user user *" command starts it will ask me to type a password. I don't want any password, I want it without one. Is there anyway I could make it 'press enter' so the account won't have a password?
    Here to prevail on your failures.

  2. #2
    Digital Knight
    Overall activity: 0%

    Join Date
    Feb 2010
    Location
    Troy, MO
    Posts
    1,239
    Liked
    1 times
    Points
    11,871
    You could try redirection. But I think I remember the only way to do this is to code it.
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." Einstein

  3. #3
    Experienced User
    Overall activity: 0%

    Join Date
    Nov 2009
    Location
    A live-able place.
    Posts
    386
    Liked
    53 times
    Points
    12,670
    What do you mean by 'redirection'?

  4. #4
    Digital Knight
    Overall activity: 0%

    Join Date
    Feb 2010
    Location
    Troy, MO
    Posts
    1,239
    Liked
    1 times
    Points
    11,871
    Quote Originally Posted by Newbie Comp user View Post
    What do you mean by 'redirection'?
    Sorry, that may be more of a Unix term.
    Create a file of your answers/input to the command. Run the command/bat file taking the input from the file you just created.
    In MS-DOS (I think, but you better asik the expert [leofelix]), run this:
    type infile.txt | command.bat
    In Unix, it would be:
    command.bat < infile.txt

  5. #5
    Experienced User
    Overall activity: 0%

    Join Date
    Nov 2009
    Location
    A live-able place.
    Posts
    386
    Liked
    53 times
    Points
    12,670
    Quote Originally Posted by Ande View Post
    Sorry, that may be more of a Unix term.
    Create a file of your answers/input to the command. Run the command/bat file taking the input from the file you just created.
    In MS-DOS (I think, but you better asik the expert [leofelix]), run this:
    type infile.txt | command.bat
    In Unix, it would be:
    command.bat < infile.txt
    Thanks Ande! but I'll stick with 'batching'/command lines. I don't feel comfortable to learn that yet...

 

 

Similar Threads

  1. Replies: 11
    Last Post: 09-08-2010, 12:42 PM
  2. Command & Conquer 3 Sig
    By Playa82 in forum Graphics and Design
    Replies: 6
    Last Post: 09-06-2009, 05:26 PM
  3. run command problem
    By n-GenX08 in forum Spyware/Viruses
    Replies: 10
    Last Post: 09-19-2007, 02:04 AM
  4. Enable Search Command
    By honey116 in forum General Forum
    Replies: 1
    Last Post: 08-17-2007, 01:46 PM
  5. Command and conquer 3 help
    By Retarded IT BOY in forum Software
    Replies: 4
    Last Post: 04-05-2007, 10:30 PM

Tags for this Thread

All times are GMT +8. The time now is 12:26 AM.