Batch file to perform start, run, %TEMP% and delete all
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
looking for a way to perform the following:
Start > Run > "%TEMP% > Delete everything (skipping any conflicts).
so Far I have
@echo off
start %TEMP%
DEL *.*
I suppose I could use CD to get to the folder, the thing I'm wondering is if there are any instances where it cannot delete an a dialog box comes up, I want to skip these.
Thanks for the help!
Liam
batch-file
add a comment |
looking for a way to perform the following:
Start > Run > "%TEMP% > Delete everything (skipping any conflicts).
so Far I have
@echo off
start %TEMP%
DEL *.*
I suppose I could use CD to get to the folder, the thing I'm wondering is if there are any instances where it cannot delete an a dialog box comes up, I want to skip these.
Thanks for the help!
Liam
batch-file
add a comment |
looking for a way to perform the following:
Start > Run > "%TEMP% > Delete everything (skipping any conflicts).
so Far I have
@echo off
start %TEMP%
DEL *.*
I suppose I could use CD to get to the folder, the thing I'm wondering is if there are any instances where it cannot delete an a dialog box comes up, I want to skip these.
Thanks for the help!
Liam
batch-file
looking for a way to perform the following:
Start > Run > "%TEMP% > Delete everything (skipping any conflicts).
so Far I have
@echo off
start %TEMP%
DEL *.*
I suppose I could use CD to get to the folder, the thing I'm wondering is if there are any instances where it cannot delete an a dialog box comes up, I want to skip these.
Thanks for the help!
Liam
batch-file
batch-file
asked May 23 '12 at 9:10
Liam CoatesLiam Coates
1865718
1865718
add a comment |
add a comment |
8 Answers
8
active
oldest
votes
del won't trigger any dialogs or message boxes. You have a few problems, though:
startwill just open Explorer which would be useless. You needcdto change the working directory of your batch file (the/Dis there so it also works when run from a different drive):
cd /D %temp%
You may want to delete directories as well:
for /d %%D in (*) do rd /s /q "%%D"
You need to skip the question for
deland remove read-only files too:
del /f /q *
so you arrive at:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
add a comment |
If you want to remove all the files in the %TEMP% folder you could just do this:
del %TEMP%*.* /f /s /q
That will remove everything, any file with any extension (*.*) and do the same for all sub-folders (/s), without prompting you for anything (/q), it will just do it, including read only files (/f).
Hope this helps.
1
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
add a comment |
The following batch commands are used to delete all your temp, recent and prefetch files on your System.
Save the following code as "Clear.bat" on your local system
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%Recent*.*
del /s /f /q C:WindowsPrefetch*.*
del /s /f /q C:WindowsTemp*.*
del /s /f /q %USERPROFILE%appdatalocaltemp*.*
/Below command to Show the folder after deleted files
Explorer %userprofile%Recent
Explorer C:WindowsPrefetch
Explorer C:WindowsTemp
Explorer %USERPROFILE%appdatalocaltemp
*********END CODE************
add a comment |
cd C:Users%username%AppDataLocal
rmdir /S /Q Temp
del C:WindowsPrefetch*.* /Q
del C:WindowsTemp*.* /Q
del C:Users%username%AppDataRoamingMicrosoftWindowsRecent Items*.* /Q
pause
add a comment |
@echo off
RD %TEMP%. /S /Q
::pause
explorer %temp%
This batch can run from anywhere.
RD stands for Remove Directory but this can remove both folders and files which available to delete.
add a comment |
@echo off
del /s /f /q %windir%temp*.*
rd /s /q %windir%temp
md %windir%temp
del /s /f /q %windir%Prefetch*.*
rd /s /q %windir%Prefetch
md %windir%Prefetch
del /s /f /q %windir%system32dllcache*.*
rd /s /q %windir%system32dllcache
md %windir%system32dllcache
del /s /f /q "%SysteDrive%Temp"*.*
rd /s /q "%SysteDrive%Temp"
md "%SysteDrive%Temp"
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
del /s /f /q "%USERPROFILE%Local SettingsHistory"*.*
rd /s /q "%USERPROFILE%Local SettingsHistory"
md "%USERPROFILE%Local SettingsHistory"
del /s /f /q "%USERPROFILE%Local SettingsTemporary Internet Files"*.*
rd /s /q "%USERPROFILE%Local SettingsTemporary Internet Files"
md "%USERPROFILE%Local SettingsTemporary Internet Files"
del /s /f /q "%USERPROFILE%Local SettingsTemp"*.*
rd /s /q "%USERPROFILE%Local SettingsTemp"
md "%USERPROFILE%Local SettingsTemp"
del /s /f /q "%USERPROFILE%Recent"*.*
rd /s /q "%USERPROFILE%Recent"
md "%USERPROFILE%Recent"
del /s /f /q "%USERPROFILE%Cookies"*.*
rd /s /q "%USERPROFILE%Cookies"
md "%USERPROFILE%Cookies"
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
1
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
add a comment |
just use;
del /f /q C:Users*username*AppDataLocaltemp
and it will work
jou'll delete the whole map then but windows will re-make it
format your answer
– Apurva
Mar 12 '15 at 20:28
add a comment |
@echo off
del /s /f /q c:windowstemp*.*
rd /s /q c:windowstemp
md c:windowstemp
del /s /f /q C:WINDOWSPrefetch
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
deltree /y c:windowstempor~1
deltree /y c:windowstemp
deltree /y c:windowstmp
deltree /y c:windowsff*.tmp
deltree /y c:windowshistory
deltree /y c:windowscookies
deltree /y c:windowsrecent
deltree /y c:windowsspoolprinters
del c:WIN386.SWP
cls
add a comment |
protected by Community♦ Dec 7 '18 at 2:49
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
del won't trigger any dialogs or message boxes. You have a few problems, though:
startwill just open Explorer which would be useless. You needcdto change the working directory of your batch file (the/Dis there so it also works when run from a different drive):
cd /D %temp%
You may want to delete directories as well:
for /d %%D in (*) do rd /s /q "%%D"
You need to skip the question for
deland remove read-only files too:
del /f /q *
so you arrive at:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
add a comment |
del won't trigger any dialogs or message boxes. You have a few problems, though:
startwill just open Explorer which would be useless. You needcdto change the working directory of your batch file (the/Dis there so it also works when run from a different drive):
cd /D %temp%
You may want to delete directories as well:
for /d %%D in (*) do rd /s /q "%%D"
You need to skip the question for
deland remove read-only files too:
del /f /q *
so you arrive at:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
add a comment |
del won't trigger any dialogs or message boxes. You have a few problems, though:
startwill just open Explorer which would be useless. You needcdto change the working directory of your batch file (the/Dis there so it also works when run from a different drive):
cd /D %temp%
You may want to delete directories as well:
for /d %%D in (*) do rd /s /q "%%D"
You need to skip the question for
deland remove read-only files too:
del /f /q *
so you arrive at:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
del won't trigger any dialogs or message boxes. You have a few problems, though:
startwill just open Explorer which would be useless. You needcdto change the working directory of your batch file (the/Dis there so it also works when run from a different drive):
cd /D %temp%
You may want to delete directories as well:
for /d %%D in (*) do rd /s /q "%%D"
You need to skip the question for
deland remove read-only files too:
del /f /q *
so you arrive at:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
edited Mar 12 '18 at 8:11
answered May 23 '12 at 9:23
JoeyJoey
268k66574606
268k66574606
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
add a comment |
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks mate! Works a charm, can now schedule it weekly with task scheduler!
– Liam Coates
May 23 '12 at 9:41
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
Thanks for step by step explanation!!
– Paritosh
Jun 28 '13 at 6:02
add a comment |
If you want to remove all the files in the %TEMP% folder you could just do this:
del %TEMP%*.* /f /s /q
That will remove everything, any file with any extension (*.*) and do the same for all sub-folders (/s), without prompting you for anything (/q), it will just do it, including read only files (/f).
Hope this helps.
1
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
add a comment |
If you want to remove all the files in the %TEMP% folder you could just do this:
del %TEMP%*.* /f /s /q
That will remove everything, any file with any extension (*.*) and do the same for all sub-folders (/s), without prompting you for anything (/q), it will just do it, including read only files (/f).
Hope this helps.
1
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
add a comment |
If you want to remove all the files in the %TEMP% folder you could just do this:
del %TEMP%*.* /f /s /q
That will remove everything, any file with any extension (*.*) and do the same for all sub-folders (/s), without prompting you for anything (/q), it will just do it, including read only files (/f).
Hope this helps.
If you want to remove all the files in the %TEMP% folder you could just do this:
del %TEMP%*.* /f /s /q
That will remove everything, any file with any extension (*.*) and do the same for all sub-folders (/s), without prompting you for anything (/q), it will just do it, including read only files (/f).
Hope this helps.
answered May 23 '12 at 9:30
Bali CBali C
23k3294136
23k3294136
1
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
add a comment |
1
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
1
1
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
It won't remove directories, though.
– Joey
May 23 '12 at 10:21
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
@Joey True, your answer is better :)
– Bali C
May 23 '12 at 10:41
add a comment |
The following batch commands are used to delete all your temp, recent and prefetch files on your System.
Save the following code as "Clear.bat" on your local system
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%Recent*.*
del /s /f /q C:WindowsPrefetch*.*
del /s /f /q C:WindowsTemp*.*
del /s /f /q %USERPROFILE%appdatalocaltemp*.*
/Below command to Show the folder after deleted files
Explorer %userprofile%Recent
Explorer C:WindowsPrefetch
Explorer C:WindowsTemp
Explorer %USERPROFILE%appdatalocaltemp
*********END CODE************
add a comment |
The following batch commands are used to delete all your temp, recent and prefetch files on your System.
Save the following code as "Clear.bat" on your local system
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%Recent*.*
del /s /f /q C:WindowsPrefetch*.*
del /s /f /q C:WindowsTemp*.*
del /s /f /q %USERPROFILE%appdatalocaltemp*.*
/Below command to Show the folder after deleted files
Explorer %userprofile%Recent
Explorer C:WindowsPrefetch
Explorer C:WindowsTemp
Explorer %USERPROFILE%appdatalocaltemp
*********END CODE************
add a comment |
The following batch commands are used to delete all your temp, recent and prefetch files on your System.
Save the following code as "Clear.bat" on your local system
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%Recent*.*
del /s /f /q C:WindowsPrefetch*.*
del /s /f /q C:WindowsTemp*.*
del /s /f /q %USERPROFILE%appdatalocaltemp*.*
/Below command to Show the folder after deleted files
Explorer %userprofile%Recent
Explorer C:WindowsPrefetch
Explorer C:WindowsTemp
Explorer %USERPROFILE%appdatalocaltemp
*********END CODE************
The following batch commands are used to delete all your temp, recent and prefetch files on your System.
Save the following code as "Clear.bat" on your local system
*********START CODE************
@ECHO OFF
del /s /f /q %userprofile%Recent*.*
del /s /f /q C:WindowsPrefetch*.*
del /s /f /q C:WindowsTemp*.*
del /s /f /q %USERPROFILE%appdatalocaltemp*.*
/Below command to Show the folder after deleted files
Explorer %userprofile%Recent
Explorer C:WindowsPrefetch
Explorer C:WindowsTemp
Explorer %USERPROFILE%appdatalocaltemp
*********END CODE************
edited May 13 '17 at 10:55
amarnath
76132021
76132021
answered May 13 '17 at 7:33
Ramanan KRamanan K
211
211
add a comment |
add a comment |
cd C:Users%username%AppDataLocal
rmdir /S /Q Temp
del C:WindowsPrefetch*.* /Q
del C:WindowsTemp*.* /Q
del C:Users%username%AppDataRoamingMicrosoftWindowsRecent Items*.* /Q
pause
add a comment |
cd C:Users%username%AppDataLocal
rmdir /S /Q Temp
del C:WindowsPrefetch*.* /Q
del C:WindowsTemp*.* /Q
del C:Users%username%AppDataRoamingMicrosoftWindowsRecent Items*.* /Q
pause
add a comment |
cd C:Users%username%AppDataLocal
rmdir /S /Q Temp
del C:WindowsPrefetch*.* /Q
del C:WindowsTemp*.* /Q
del C:Users%username%AppDataRoamingMicrosoftWindowsRecent Items*.* /Q
pause
cd C:Users%username%AppDataLocal
rmdir /S /Q Temp
del C:WindowsPrefetch*.* /Q
del C:WindowsTemp*.* /Q
del C:Users%username%AppDataRoamingMicrosoftWindowsRecent Items*.* /Q
pause
answered Jan 31 '15 at 23:08
pepivladpepivlad
111
111
add a comment |
add a comment |
@echo off
RD %TEMP%. /S /Q
::pause
explorer %temp%
This batch can run from anywhere.
RD stands for Remove Directory but this can remove both folders and files which available to delete.
add a comment |
@echo off
RD %TEMP%. /S /Q
::pause
explorer %temp%
This batch can run from anywhere.
RD stands for Remove Directory but this can remove both folders and files which available to delete.
add a comment |
@echo off
RD %TEMP%. /S /Q
::pause
explorer %temp%
This batch can run from anywhere.
RD stands for Remove Directory but this can remove both folders and files which available to delete.
@echo off
RD %TEMP%. /S /Q
::pause
explorer %temp%
This batch can run from anywhere.
RD stands for Remove Directory but this can remove both folders and files which available to delete.
edited Jan 31 '17 at 5:15
answered Jan 31 '17 at 5:02
Na NonthasenNa Nonthasen
5513
5513
add a comment |
add a comment |
@echo off
del /s /f /q %windir%temp*.*
rd /s /q %windir%temp
md %windir%temp
del /s /f /q %windir%Prefetch*.*
rd /s /q %windir%Prefetch
md %windir%Prefetch
del /s /f /q %windir%system32dllcache*.*
rd /s /q %windir%system32dllcache
md %windir%system32dllcache
del /s /f /q "%SysteDrive%Temp"*.*
rd /s /q "%SysteDrive%Temp"
md "%SysteDrive%Temp"
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
del /s /f /q "%USERPROFILE%Local SettingsHistory"*.*
rd /s /q "%USERPROFILE%Local SettingsHistory"
md "%USERPROFILE%Local SettingsHistory"
del /s /f /q "%USERPROFILE%Local SettingsTemporary Internet Files"*.*
rd /s /q "%USERPROFILE%Local SettingsTemporary Internet Files"
md "%USERPROFILE%Local SettingsTemporary Internet Files"
del /s /f /q "%USERPROFILE%Local SettingsTemp"*.*
rd /s /q "%USERPROFILE%Local SettingsTemp"
md "%USERPROFILE%Local SettingsTemp"
del /s /f /q "%USERPROFILE%Recent"*.*
rd /s /q "%USERPROFILE%Recent"
md "%USERPROFILE%Recent"
del /s /f /q "%USERPROFILE%Cookies"*.*
rd /s /q "%USERPROFILE%Cookies"
md "%USERPROFILE%Cookies"
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
1
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
add a comment |
@echo off
del /s /f /q %windir%temp*.*
rd /s /q %windir%temp
md %windir%temp
del /s /f /q %windir%Prefetch*.*
rd /s /q %windir%Prefetch
md %windir%Prefetch
del /s /f /q %windir%system32dllcache*.*
rd /s /q %windir%system32dllcache
md %windir%system32dllcache
del /s /f /q "%SysteDrive%Temp"*.*
rd /s /q "%SysteDrive%Temp"
md "%SysteDrive%Temp"
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
del /s /f /q "%USERPROFILE%Local SettingsHistory"*.*
rd /s /q "%USERPROFILE%Local SettingsHistory"
md "%USERPROFILE%Local SettingsHistory"
del /s /f /q "%USERPROFILE%Local SettingsTemporary Internet Files"*.*
rd /s /q "%USERPROFILE%Local SettingsTemporary Internet Files"
md "%USERPROFILE%Local SettingsTemporary Internet Files"
del /s /f /q "%USERPROFILE%Local SettingsTemp"*.*
rd /s /q "%USERPROFILE%Local SettingsTemp"
md "%USERPROFILE%Local SettingsTemp"
del /s /f /q "%USERPROFILE%Recent"*.*
rd /s /q "%USERPROFILE%Recent"
md "%USERPROFILE%Recent"
del /s /f /q "%USERPROFILE%Cookies"*.*
rd /s /q "%USERPROFILE%Cookies"
md "%USERPROFILE%Cookies"
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
1
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
add a comment |
@echo off
del /s /f /q %windir%temp*.*
rd /s /q %windir%temp
md %windir%temp
del /s /f /q %windir%Prefetch*.*
rd /s /q %windir%Prefetch
md %windir%Prefetch
del /s /f /q %windir%system32dllcache*.*
rd /s /q %windir%system32dllcache
md %windir%system32dllcache
del /s /f /q "%SysteDrive%Temp"*.*
rd /s /q "%SysteDrive%Temp"
md "%SysteDrive%Temp"
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
del /s /f /q "%USERPROFILE%Local SettingsHistory"*.*
rd /s /q "%USERPROFILE%Local SettingsHistory"
md "%USERPROFILE%Local SettingsHistory"
del /s /f /q "%USERPROFILE%Local SettingsTemporary Internet Files"*.*
rd /s /q "%USERPROFILE%Local SettingsTemporary Internet Files"
md "%USERPROFILE%Local SettingsTemporary Internet Files"
del /s /f /q "%USERPROFILE%Local SettingsTemp"*.*
rd /s /q "%USERPROFILE%Local SettingsTemp"
md "%USERPROFILE%Local SettingsTemp"
del /s /f /q "%USERPROFILE%Recent"*.*
rd /s /q "%USERPROFILE%Recent"
md "%USERPROFILE%Recent"
del /s /f /q "%USERPROFILE%Cookies"*.*
rd /s /q "%USERPROFILE%Cookies"
md "%USERPROFILE%Cookies"
@echo off
del /s /f /q %windir%temp*.*
rd /s /q %windir%temp
md %windir%temp
del /s /f /q %windir%Prefetch*.*
rd /s /q %windir%Prefetch
md %windir%Prefetch
del /s /f /q %windir%system32dllcache*.*
rd /s /q %windir%system32dllcache
md %windir%system32dllcache
del /s /f /q "%SysteDrive%Temp"*.*
rd /s /q "%SysteDrive%Temp"
md "%SysteDrive%Temp"
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
del /s /f /q "%USERPROFILE%Local SettingsHistory"*.*
rd /s /q "%USERPROFILE%Local SettingsHistory"
md "%USERPROFILE%Local SettingsHistory"
del /s /f /q "%USERPROFILE%Local SettingsTemporary Internet Files"*.*
rd /s /q "%USERPROFILE%Local SettingsTemporary Internet Files"
md "%USERPROFILE%Local SettingsTemporary Internet Files"
del /s /f /q "%USERPROFILE%Local SettingsTemp"*.*
rd /s /q "%USERPROFILE%Local SettingsTemp"
md "%USERPROFILE%Local SettingsTemp"
del /s /f /q "%USERPROFILE%Recent"*.*
rd /s /q "%USERPROFILE%Recent"
md "%USERPROFILE%Recent"
del /s /f /q "%USERPROFILE%Cookies"*.*
rd /s /q "%USERPROFILE%Cookies"
md "%USERPROFILE%Cookies"
edited Feb 11 '18 at 16:39
uzi
3,98711122
3,98711122
answered Feb 11 '18 at 14:09
yehoyeho
112
112
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
1
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
add a comment |
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
1
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
Thank me after... Enjoy!! :)
– yeho
Feb 11 '18 at 14:11
1
1
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
Welcome to Stack Overflow, please review: stackoverflow.com/help/how-to-answer
– Daniel
Feb 11 '18 at 14:32
add a comment |
just use;
del /f /q C:Users*username*AppDataLocaltemp
and it will work
jou'll delete the whole map then but windows will re-make it
format your answer
– Apurva
Mar 12 '15 at 20:28
add a comment |
just use;
del /f /q C:Users*username*AppDataLocaltemp
and it will work
jou'll delete the whole map then but windows will re-make it
format your answer
– Apurva
Mar 12 '15 at 20:28
add a comment |
just use;
del /f /q C:Users*username*AppDataLocaltemp
and it will work
jou'll delete the whole map then but windows will re-make it
just use;
del /f /q C:Users*username*AppDataLocaltemp
and it will work
jou'll delete the whole map then but windows will re-make it
answered Mar 12 '15 at 20:07
Ferre VekemansFerre Vekemans
1
1
format your answer
– Apurva
Mar 12 '15 at 20:28
add a comment |
format your answer
– Apurva
Mar 12 '15 at 20:28
format your answer
– Apurva
Mar 12 '15 at 20:28
format your answer
– Apurva
Mar 12 '15 at 20:28
add a comment |
@echo off
del /s /f /q c:windowstemp*.*
rd /s /q c:windowstemp
md c:windowstemp
del /s /f /q C:WINDOWSPrefetch
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
deltree /y c:windowstempor~1
deltree /y c:windowstemp
deltree /y c:windowstmp
deltree /y c:windowsff*.tmp
deltree /y c:windowshistory
deltree /y c:windowscookies
deltree /y c:windowsrecent
deltree /y c:windowsspoolprinters
del c:WIN386.SWP
cls
add a comment |
@echo off
del /s /f /q c:windowstemp*.*
rd /s /q c:windowstemp
md c:windowstemp
del /s /f /q C:WINDOWSPrefetch
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
deltree /y c:windowstempor~1
deltree /y c:windowstemp
deltree /y c:windowstmp
deltree /y c:windowsff*.tmp
deltree /y c:windowshistory
deltree /y c:windowscookies
deltree /y c:windowsrecent
deltree /y c:windowsspoolprinters
del c:WIN386.SWP
cls
add a comment |
@echo off
del /s /f /q c:windowstemp*.*
rd /s /q c:windowstemp
md c:windowstemp
del /s /f /q C:WINDOWSPrefetch
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
deltree /y c:windowstempor~1
deltree /y c:windowstemp
deltree /y c:windowstmp
deltree /y c:windowsff*.tmp
deltree /y c:windowshistory
deltree /y c:windowscookies
deltree /y c:windowsrecent
deltree /y c:windowsspoolprinters
del c:WIN386.SWP
cls
@echo off
del /s /f /q c:windowstemp*.*
rd /s /q c:windowstemp
md c:windowstemp
del /s /f /q C:WINDOWSPrefetch
del /s /f /q %temp%*.*
rd /s /q %temp%
md %temp%
deltree /y c:windowstempor~1
deltree /y c:windowstemp
deltree /y c:windowstmp
deltree /y c:windowsff*.tmp
deltree /y c:windowshistory
deltree /y c:windowscookies
deltree /y c:windowsrecent
deltree /y c:windowsspoolprinters
del c:WIN386.SWP
cls
edited Nov 16 '18 at 15:05
FGM
2,27412323
2,27412323
answered Nov 16 '18 at 13:10
Syed Masum Al HasanSyed Masum Al Hasan
1
1
add a comment |
add a comment |
protected by Community♦ Dec 7 '18 at 2:49
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?