Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
diskcleanup
#1
I NEED A MACRO THAT WILL RUN DISKCLEANUP FOR ME ALONG WITH ALL THE CONFIRMATION BOXES ;;; ANYONE ?
#2
try this...
Code:
Copy      Help
run "C:\WINDOWS\system32\cleanmgr.exe" "" "" "%HOMEDRIVE%%HOMEPATH%"
0 WC win("Disk Cleanup for  (C:)")
0.5
Acc a=acc("OK" "PUSHBUTTON" "Disk Cleanup for  (C:)" "Button" "" 0x1001)
a.DoDefaultAction
1
act "Disk Cleanup for  (C:)"
'V


PS: why are you yelling?
An old blog on QM coding and automation.

The Macro Hook
#3
I at first have to select drive. The macro works only when I insert this after the first line:

Code:
Copy      Help
10 "Select Drive"
key Y
#4
to REALLY get this thing cooking, look at this.
http://support.microsoft.com/?kbid=315246
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)