HI I am tring to remember how to write a .bat file to run on certain date to change a user’s password automaticly. The way I have tried is.
@echo off
date \t
(if system date is 01/07/13) go to line 15
(if system date is 01/22/13) go to line 16
(if system date is 02/05/13) go to line 17
(if system date is 02/17/13) go to line 18
(if system date is 02/27/13) go to line 19
net user user password
net user user password3
net user user password4
net user user password5
net user user password6
Can Anyone help me out
Ok I need more help please I have tried this both ways and I can not seem to get this to work can anyone help me out
thanks
You could shorten this to just
That’s much shorter than having a label and a
gotofor every one.