











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
eric1971
Senior Member M
Registered: Jun 2001 Location: Virginia Beach Country: United States State: Certifications: MCSA, CCNA, A+ Working on: MCSE
Total Posts: 232
|
|
batch file
On a Win 95 machine I'm trying to create a batch file that will automatically defrag the c: drive. The problem is that a window pops up when the disk is not heavily fragmented and says "you do not need to run defrag now, if you want to anyway click on start. I want to force it to run every time without user interaction. Any ideas?
Report this post to a moderator
|
|
03-22-02 09:02 PM
|
|
TW2001
Senior Member

Registered: Mar 2001 Location: Country: USA State: Certifications: A+,MCP Working on: BS CompSci
Total Posts: 1413
|
|
|
03-22-02 09:25 PM
|
|
wbafrank
Moderator M

Registered: Nov 2001 Location: Country: Great Britain (UK) State: Certifications: MCP, MCSA, MCSE, MCSD, MCDBA, A+, CCNA, i-Net+, M CIW SD, CIW P, CIW Associate Working on: CCNP (2/4)
Total Posts: 3787
|
|
Further info .............
Right-click the Start button and choose Open or Explore. Locate the Defrag Shortcut, which is in your Windows/Start Menu/Programs/Accessories/System Tools folder. (To make a shortcut for your desktop, right-click the Defrag icon, drag it to the desktop, and choose either Copy Here or Create Shortcut(s) Here.) Press Alt+Enter to open the Properties screen, click the Shortcut tab, then click at the end of the command line in the Target box. Then add the appropriate command switches (separated by spaces) to make Defrag perform as you like. Switches are as follows: For scanning a particular drive, type its letter followed by a colon (A:, C:,. etc.). For scanning all (non-networked) drives, don't type any drive letters, just type /ALL. To have Defrag only defragment files without consolidating free space on your hard drive, type /U. To consolidate free space without file degragmentation, type /Q. To do both, type /F. (You can't use more than one of these three switches at a time.) For Defrag to start and stop without your input, type /NOPROMPT. To have Defrag display the disk map that symbolizes the defragging process, type /DETAILED. Otherwise you'll get the small Defrag window. Your command line might look something like this: C:\WINDOWS\DEFRAG.EXE /ALL /F /NOPROMPT , to make Defrag defrag and consolidate free space on all local hard drives, and automatically exit when finished.
__________________
One Exam leads to another! Where will it ever end?
Report this post to a moderator
|
|
03-22-02 09:36 PM
|
|
eric1971
Senior Member M
Registered: Jun 2001 Location: Virginia Beach Country: United States State: Certifications: MCSA, CCNA, A+ Working on: MCSE
Total Posts: 232
|
|
|
03-22-02 10:15 PM
|
|
|
Featured site: MCSE, MCSD, CompTIA, CCNA training videos
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|