|
Answer» me from INDIA...i dnt think i need any angelina jolly or brad PITT to identify INDIA... can u relate to INDIA in any way? or do i need to say that? nice chatting wid u...Not all commands can get input from the pipe. You might want to try redirection by creating a response file and redirecting the file back to the command as CONSOLE input.
Code: [Select]echo Y > response.txt < response.txt net stop "IIS Admin Service" < response.txt net stop "FTP Publishing Service" < response.txt net stop "Simple Mail Transfer Protocol (SMTP)" < response.txt net stop "World WIDE Web Publishing Service"
< response.txt net start "IIS Admin Service" < response.txt net start "Simple Mail Transfer Protocol (SMTP)" < response.txt net start "World Wide Web Publishing Service" < response.txt net start "FTP Publishing Service" del response.txt
Depending how the net command HANDLES prompts for input, this may actually work. Side that works, og me did not think of that.
|