IT4X เทคนิคคอมพิวเตอร์ โน๊ตบุค ข่าว IT
ข่าวสาร / ความรู้ => ทิป เทคนิค คอมพิวเตอร์ => ตอบถามปัญหาคอม => ข้อความที่เริ่มโดย: PolZodiac ที่ ธันวาคม 26, 2009, 11:28:42
-
@ECHO OFF
IF NOT %temp% == %tmp% GOTO both_
GOTO single
:both
DEL %temp%*.* /F /S /Q
DEL %tmp%*.* /F /S /Q
CLS
ECHO Deleted all files in the TEMP folder: %temp%
ECHO Deleted all files in the TMP folder: %tmp%
GOTO end
:single
DEL %temp%*.* /F /S /Q
CLS
ECHO Deleted all files in the TEMP folder: %temp%
:end
---------------
อยากให้ ลบtemp ไฟล์ทุกครั้งที่เปิดเครื่อง พอดีHdd ผมเสีย เลยจำไม่ได้ว่าทำยังไง ช่วยกัลหาหน่อยนะคับ
-
ขออภัยที่มาตอบล่าช้าะนะครับ ไปวัดมา 3 วันครับผม
http://www.it4x.com/forum/index.php?topic=2914.0 (http://www.it4x.com/forum/index.php?topic=2914.0)
ตามลิงค์เลยนะครับ