Gebhard,actually both Scandisk and Defrag do have command line switches: Defrag: x: single drive letter /all defrag all local fixed drives /F defrag files and free space /U defrag files only /Q defrag free space only /concise details hidden /detailed details displayed /noprompt don't display and stop for messages Scandisk: x: single drive letter /A check all local fixed drives /N noninteractive - run and close automatically (still displays messages, though) /P preview. reports errors, but does not fix them Hope this helps On Thu, 07 May 1998 03:55:39 GMT, blucher@usa.net (Gebhard Blucher)wrote: >I recently installed the Task Scheduler that came with IE4 and was >wondering how I could get it to work properly.> >I can add a new task and when the time comes, the program starts up; >however, the programs don't properly execute.> >For instance: I have as my two scheduled tasks, Scandisk >(scandskw.exe) and Disk Defragmenter (defrag.exe). Both programs start >up, but neither actually do anything unless I am there to press the >appropriate buttons (ie: what drive should I "defragment/check for >errors" and "start"). Also, neither seem to support any command line >arguments like the old DOS defrag & scandisk apps could (I used to >automate these to processes with a batch file containing all of the >relevant arguments).> >I had assumed that the Task Scheduler had some sort of "macro-like" >functionality. Otherwise, it's not very useful is it? Am I missing >something really basic here?>>Any help would be appreciated. Thanks.>>- GB Gerd Ziran