Code to run defrag

firewall_ie

Registered User.
Local time
Today, 20:04
Joined
Mar 31, 2003
Messages
20
Hi does any one know the code that can run with a command button that will let me start the likes of defrag and Disk clean
 
If you know the command line for defrag and disk clean, try the Shell command.

Shell("C:\WINDOWS\DEFRAG.EXE")
and
Shell("C:\WINDOWS\CLEANMGR.EXE")

on my PC.
 

Users who are viewing this thread

Back
Top Bottom