Tzar Posted November 9, 2006 Share Posted November 9, 2006 I want to make a file that if a sertain command is denyed it trys something different. This is what i tryed (hard for me to describe with the code) net localgroup administrators /add %uname set /p error if %error% equ Goto nonadmin del k.bat exit There is code befor and after. but what im trying to create (on my own so i actuly learn about it and for a tut im makeing) is a file that trys to add a admin user and if it cant puts a new file in the startup folder for next time the admin logs in. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.