Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-07-2004, 03:37 AM   PM User | #1
avtechwx3
New to the CF scene

 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
avtechwx3 is an unknown quantity at this point
How to code sfc to be automatic

Do I make a .bat file; I dunno. I want it to run sfc like once a week. any information will be helpful. my friend is good at visual basic. But I want to do it myself. How can I do it? I have windows 2000 and the sfc will be: sfc /scannow. I think I need to make some code to tell it to run on saturday to.
avtechwx3 is offline   Reply With Quote
Old 05-07-2004, 04:07 AM   PM User | #2
Unit
Regular Coder

 
Join Date: Feb 2004
Location: WA
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Unit is an unknown quantity at this point
just type this at the command prompt

c:\>at 5:00am /every:saturday /interactive c:\tasks\sfc.bat

and in sfc.bat put your command.

or, you can just type this

c:\>at 5:00am /every:saturday /interactive sfc /scannow
__________________
Nobody is Perfect. I am Nobody.

Last edited by Unit; 05-07-2004 at 04:09 AM..
Unit is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:31 AM.


Advertisement
Log in to turn off these ads.