Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Script or file


  • Please log in to reply
3 replies to this topic

#1 bigdog1804

bigdog1804

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:10:53 PM

Posted 16 November 2009 - 01:31 PM

I have a batch file I just need ran on and after certain days/dates.. these days vary.

So here is my question..

I want to create a file that I can put in the start up menu, so when my computer boots up it will run this file and check

the date. If the date is for example: november,18,2009 or later it will run the batch file.


That batch file is located in c:\Documents and settings\user\My Documents

So what kind of file would I need to create and what would the script be.

I need to be able to plug in different dates when I need to and using the schedule task in windows is not going to work.

Time doesnt matter just need dates.

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:05:53 PM

Posted 16 November 2009 - 01:59 PM

Are the days known at some point ahead of time?

#3 bigdog1804

bigdog1804
  • Topic Starter

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:10:53 PM

Posted 16 November 2009 - 07:57 PM

Yes

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:05:53 PM

Posted 16 November 2009 - 10:20 PM

If they days are known ahead of time, could you not simply use the Task Scheduler?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users