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
GitLab 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
77201ea5
Commit
77201ea5
authored
2 years ago
by
JG
Browse files
Options
Downloads
Patches
Plain Diff
Fixed inconsistent backup folder & un-escaped ampersand
parent
0e357b57
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 work file not createable.cmd
+3
-3
3 additions, 3 deletions
Fix work file not createable.cmd
with
3 additions
and
3 deletions
Fix work file not createable.cmd
+
3
−
3
View file @
77201ea5
...
@@ -30,8 +30,8 @@ if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul & shift /1)
...
@@ -30,8 +30,8 @@ if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul & shift /1)
REM Functional part
REM Functional part
echo
Create
backups
of
registry
entries
to
delete
in
Downloads
folder
. . .
echo
Create
backups
of
registry
entries
to
delete
in
Downloads
folder
. . .
reg
export
"HKCR\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}"
"
%userprofile%
\Downloads\SBLOG_RegBackup_WordPreview.reg"
reg
export
"HKCR\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}"
"
%userprofile%
\Downloads\SBLOG_RegBackup_WordPreview.reg"
reg
export
"HKCR\CLSID\{65235197-874B-4A07-BDC5-E65EA825B718}"
"
%userprofile%
\
document
s\SBLOG_RegBackup_PowerPointreview.reg"
reg
export
"HKCR\CLSID\{65235197-874B-4A07-BDC5-E65EA825B718}"
"
%userprofile%
\
Download
s\SBLOG_RegBackup_PowerPointreview.reg"
reg
export
"HKCR\CLSID\{00020827-0000-0000-C000-000000000046}"
"
%userprofile%
\
document
s\SBLOG_RegBackup_ExcelPreview.reg"
reg
export
"HKCR\CLSID\{00020827-0000-0000-C000-000000000046}"
"
%userprofile%
\
Download
s\SBLOG_RegBackup_ExcelPreview.reg"
echo
.
echo
.
echo
Deleting
entries
. . .
echo
Deleting
entries
. . .
reg
delete
"HKCR\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}"
/f
reg
delete
"HKCR\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}"
/f
...
@@ -45,6 +45,6 @@ echo.
...
@@ -45,6 +45,6 @@ echo.
echo
Defining
new
registry
entries
for
chache
path
. . .
echo
Defining
new
registry
entries
for
chache
path
. . .
reg
add
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
/v
"Cache"
/t
REG_SZ
/d
"
%userprofile%
\AppData\Local\Microsoft\Windows\INetCache"
/f
reg
add
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
/v
"Cache"
/t
REG_SZ
/d
"
%userprofile%
\AppData\Local\Microsoft\Windows\INetCache"
/f
echo
.
echo
.
echo
Done
.
Please
log
off
&
on
and
try
if
the
problem
was
resolved
.
echo
Done
.
Please
log
off
^
&
on
and
try
if
the
problem
was
resolved
.
pause
pause
exit
exit
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