Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Windows-Error-Fixing-Scripts
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gohrbandt, Jan
Windows-Error-Fixing-Scripts
Commits
84481a1c
Unverified
Commit
84481a1c
authored
3 years ago
by
Jan
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Trimmed a few imo unnecessary echo.s
parent
9cb575ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fix blank icons.bat
+0
-12
0 additions, 12 deletions
Fix blank icons.bat
with
0 additions
and
12 deletions
Fix blank icons.bat
+
0
−
12
View file @
84481a1c
...
...
@@ -4,24 +4,19 @@ set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache*
echo
.
echo
The
explorer
process
must
be
temporarily
killed
before
deleting
the
IconCache
.db
file
.
echo
.
echo
Please
SAVE
ALL
OPEN
WORK
before
continuing
.
echo
.
pause
echo
.
If
exist
"
%iconcache%
"
goto
delete
echo
.
echo
The
%localappdata%
\IconCache.db
file
has
already
been
deleted
.
echo
.
If
exist
"
%iconcache_x%
"
goto
delete
echo
.
echo
The
%localappdata%
\Microsoft\Windows\Explorer\IconCache_
*
.db
files
have
already
been
deleted
.
echo
.
exit
/B
:delete
echo
.
echo
Attempting
to
delete
IconCache
.db
files
...
echo
.
ie4uinit
.exe
-show
...
...
@@ -29,16 +24,9 @@ taskkill /IM explorer.exe /F
If
exist
del
/A /F /Q
"
%iconcache%
"
If
exist
del
/A /F /Q
"
%iconcache_x%
"
start
explorer
.exe
echo
.
echo
IconCache
database
files
have
been
successfully
deleted
.
goto
restart
:restart
echo
.
echo
.
echo
You
will
need
to
restart
the
PC
to
finish
rebuilding
your
icon
cache
.
echo
.
CHOICE
/C
:YN
/M
"Do you want to restart the PC now?"
IF
ERRORLEVEL
2
goto
no
IF
ERRORLEVEL
1
goto
yes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment