Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9172319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:19:02+00:00 2026-06-17T16:19:02+00:00

HI I am tring to remember how to write a .bat file to run

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:19:04+00:00Added an answer on June 17, 2026 at 4:19 pm

    You could shorten this to just

    if %date%==01/07/13 net user user password
    

    That’s much shorter than having a label and a goto for every one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

...is there any way of checking such thing? The default option as i remember
I just want to create plugin that will when visitor(user,visitor,...) visit some post,remember what
I am trying to write a smart array search function that would remember the
The task: I want to write a C++ header file that can load a
I'm trying to write a simple HTTP remember me authentication system for users. My
I remember reading somewhere that to really optimize & speed up certain section of
I'm trying to write an array or object to a file in plain-text (Not
I have various binary file formats which I need to dump to some kind
When I write html in MacVim I keep the same file open in a
I am trying to write a script for Linux on tcsh. I have not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.