Computing.Net > Forums > Disk Operating System > ho do i

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ho do i

Reply to Message Icon

Name: dave500
Date: November 19, 2002 at 06:47:53 Pacific
OS: 98
CPU/Ram: 128
Comment:

I want to creat a bat file that will call or run defrag, that part is ok.

Thing is that defrag still wants me to hit OK, is there a command that will send "OK" to defrag from the bat file?

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: - Uziel -
Date: November 19, 2002 at 11:53:08 Pacific
Reply:

Hello Dave, I'v used a lot time to find out the best settings for Defrag ( +else),
and I also use Win98 like U do, so try out My settings (just copy and paste the
below into Notepad and save it as "DeFrag -ALL- harddisks on next Boot.reg"

==========DeFrag -ALL- harddisks on next Boot.reg=========START=====
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx]
"Title"="DeFrag -ALL- on next Boot"
"Flags"=dword:00000003

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\DeFrag-ALL]
"Cmd"="DEFRAG.EXE /all /f /h /p /b /detailed /noprompt"

;;===========================================================================;;
;; !! This "*.REG" is for Win98[SE] & WinME. !! NO warrantys "whatsoever" !! ;;
;;===========================================================================;;

==========DeFrag -ALL- harddisks on next Boot.reg==========END======

Thenever U wanna Defrag: just execute above .REG-file & reboot, it then auto-starts
defragmenting before everything is loaded and without any confirmation needs at all :-)

(After Defrag is finish: the PC will continue & complete the loading of Win98 like usual)

Note: its also recommended using the Defrag.exe from WinME cause it is bettr'n fastr :)

-- Good luck! Hi, and let me know how this worked (or if U have other questions), OK?
_________________________________________________________________________


0

Response Number 2
Name: tfran88@aol.com
Date: November 20, 2002 at 02:19:53 Pacific
Reply:

how do i install a floppy disc on dos , i am curently using windows profetional 2000


0

Response Number 3
Name: chappie
Date: November 23, 2002 at 06:38:52 Pacific
Reply:

for a simple batch file to run
Scandisk:
Copy the text between the lines. Open Notepad.exe. Paste it into a Notepad and save the file as Scandisk.bat
--------------------
@echo off
c:\windows\scandskw.exe c: /all /noninteractive /silent
------------------
2 line in this file

Defrag without rearrange files:
Copy the text between the lines. Open Notepad.exe. Paste it into a Notepad and save the file as Defrag.bat
------------------
@echo off
del /y C:\WINDOWS\APPLOG\*.*
c:\windows\defrag.exe /all /f /p /details /noprompt
------------------
2 lines in this file

Run both Scandisk then Defrag:
------------------
@ECHO OFF
START /W c:\windows\scandskw.exe c: /ALL /noninteractive /silent
START c:\windows\defrag.exe /all /noprompt /detailed
------------------
Copy the text between the lines. Open Notepad.exe. Paste it into a Notepad and save the file as Scandef.bat there is 3 lines in this file.

Adapt the contents to what suits you.
HTH


0

Response Number 4
Name: - Uziel -
Date: November 23, 2002 at 07:23:54 Pacific
Reply:

U suggested to DEL %windir%\APPLOG\*.* :-)
..well I highly recommend to UN-install & dis-
able "Taskmon" completely (it doesn't exactly
impress or make any miracle improvements so!)

To "Tefran", sorry I can't help, because I never
have used "Windows Profetional 2000". Try to
post it as a NEW subject. Also shortly describe
what U already tryed +what IS /is NOT working!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: ho do i

How do i start up in DOS www.computing.net/answers/dos/how-do-i-start-up-in-dos/11506.html

How do I copy one drive to another? www.computing.net/answers/dos/how-do-i-copy-one-drive-to-another/11718.html

how do i convrt linux to windows 98 www.computing.net/answers/dos/how-do-i-convrt-linux-to-windows-98/12575.html