国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

對于雙擊用Microsoft Office(包括Word、Excel、Powerpoint)打開文件之后展示文件名自動更改、文件名加1等情況的解決辦法

這篇具有很好參考價值的文章主要介紹了對于雙擊用Microsoft Office(包括Word、Excel、Powerpoint)打開文件之后展示文件名自動更改、文件名加1等情況的解決辦法。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報違法"按鈕提交疑問。

首先的說明

本方法由微軟客服提供。其不只提供了一種方法,本人按照提供的方法按序操作但是最終解決本人問題的只有最后一種方法。代碼段來自微軟幫助我解決問題的客服人員。感謝他們的工作和付出。

設(shè)備和軟件

戴爾G15? ? ? ? Windows11重裝Windows10? ? ? ? 正版 Microsoft Office 家庭和學(xué)生版 2021

問題描述

  • 雙擊文件圖標(biāo)打開一個Excel文件,文件名為“2022級.xlsx”,打開之后,展示文件名為“2022級1.xlsx”,并且按下Ctrl+S鍵進(jìn)行保存,會出現(xiàn)讓操作者選擇保存文件位置的情況,并且自動填入的文件名為“2022級1.xlsx”。怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel
  • ?雙擊文件圖標(biāo)打開一個PowerPoint文件,文件名為"第五章圖像分割1.ppt",打開之后,展示文件名為"演示文稿1.ppt",并且按下Ctrl+S鍵進(jìn)行保存,會出現(xiàn)讓操作者選擇保存文件位置的情況,并且自動填入的文件名為"演示文稿1.ppt" 。怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?以上情況在下載的文件和新建的文件中都有發(fā)生。Word文檔可能也會發(fā)生類似的情況。該操作相當(dāng)于微軟Ofiice自作主張新建了一個臨時文件

解決方案

方法一——臨時解決

在微軟客服的詢問和按照指導(dǎo)操作的時候,發(fā)現(xiàn)了一種臨時的解決辦法:

在左鍵單擊選中文件之后,右鍵單擊文件圖標(biāo),選擇最上面一欄:打開

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?可以發(fā)現(xiàn)打開的文件展示為原文件名,文件名并沒有變更

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

對于Excel文件同樣適用

但是每次這么操作都很麻煩

方法二——卸載WPS并修復(fù)微軟Office

如大家所聞,金山公司經(jīng)常干一些對于個人電腦不大好的事情,可能金山公司的WPS影響了打開文件的過程

卸載可以使用Geek Uninstaller進(jìn)行WPS的卸載,同時刪除注冊表

修復(fù)微軟Office可以這樣操作:右鍵單擊Windows圖標(biāo),選擇第一行“應(yīng)用和功能”(無法截圖),或者Win+I從“設(shè)置”中進(jìn)入以下頁面也是可以的

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

在最右側(cè)欄中左鍵單擊“相關(guān)設(shè)置”下方的“程序和功能”?

(若窗口并非最大化可以在頁面最下方找到“程序和功能”?)

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?之后會進(jìn)入以下界面,找到Microsoft Ofiice 家庭和學(xué)生版,左鍵單擊選中,右鍵單擊,左鍵單擊選擇更改

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?遇到“要允許此應(yīng)用對你的設(shè)備進(jìn)行更改嗎”之后選擇“是”

之后進(jìn)入以下界面,勾選聯(lián)機(jī)修復(fù)后左鍵單擊“修復(fù)”

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?等待完成,可能會比較久

不幸的是,方法二對于我的電腦和軟件無效

方法三——運(yùn)行修復(fù)程序

具體方法:

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

提到的鏈接:https://account.microsoft.com/services/

可以新建.txt文件,復(fù)制以下內(nèi)容粘貼到記事本中,按照上方步驟進(jìn)行修改文件名后綴等操作

對于O16工具本程序由微軟技術(shù)支持工程師提供,代碼段如下:

:: ==================================================================================
:: NAME     : Uninstall Office 2016.
:: AUTHOR     : Manuel Gil.
:: VERSION     : 2.0.
:: ==================================================================================


:: Screen settings.
:: /************************************************************************************/
:mode

echo off
title Uninstall Office 2016.
color 47

goto permission
:: /************************************************************************************/


:: Print Top Text.
:: /*************************************************************************************/
:print
cls
echo.
echo.Uninstall Office 2016 Tool.
echo.
echo.%*
echo.

goto :eof
:: /************************************************************************************/


:: Checking for Administrator elevation.
:: /************************************************************************************/
:permission
openfiles>nul 2>&1
 
if %errorlevel% EQU 0 goto terms
 
call :print Checking for Administrator elevation.

echo.    You are not running as Administrator.
echo.    This batch cannot do it's job without elevation.
echo.
echo.    You must run this tool as Administrator.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
:: /************************************************************************************/


:: Terms.
:: /*************************************************************************************/
:terms
call :print Terms and Conditions.

echo.    The methods inside this batch modify files and registry settings.
echo.    While they are tested and tend to work, I take no responsibility for
echo.    the use of this file.
echo.    This batch is provided without warranty. Any damage caused is your
echo.    own responsibility.
echo.
echo.    As well, batch files are almost always flagged by anti-virus, feel free
echo.    to review the code if you're unsure.
echo.

choice /c YN /n /m "Do you want to continue with this process? (Yes/No) "
if %errorlevel% EQU 1 goto Menu
if %errorlevel% EQU 2 goto Close

echo.
echo.An unexpected error has occurred.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
:: /*************************************************************************************/


:: Menu of tool.
:: /*************************************************************************************/
:Menu
call :print Main menu.

echo.     1. Make backup of Registry.
echo.     2. Uninstall Office 2016.
echo.     3. Delete waste of Office.
echo.     4. Close.
echo.

set /p option=Select option: 

if %option% EQU 1 (
    call :Registry
) else if %option% EQU 2 (
    call :Office16
) else if %option% EQU 3 (
    call :All
) else if %option% EQU 4 (
    goto Close
) else (
    echo.
    echo.Invalid option.
    echo.
    echo.Press any key to continue . . .
    pause>nul
)

goto Menu
:: /*************************************************************************************/


:: Making backup of Registry.
:: /*************************************************************************************/
:Registry

for /f "tokens=1-5 delims=/, " %%a in ("%date%") do (
    set now=%%a%%b%%c%%d%time:~0,2%%time:~3,2%
)

:: ------------------------------------------------------------------------
:: Create a backup of the Registry.
call :print Making a backup copy of the Registry in: %USERPROFILE%\Desktop\Backup%now%.reg

if exist "%USERPROFILE%\Desktop\Backup%now%.reg" (
    echo.An unexpected error has occurred.
    echo.
    echo.    Changes were not carried out in the registry.
    echo.    Will try it later.
    echo.
    echo.Press any key to continue . . .
    pause>nul
    goto :eof
) else (
    regedit /e "%USERPROFILE%\Desktop\Backup%now%.reg"
)
:: ------------------------------------------------------------------------

:: ------------------------------------------------------------------------
:: Checking backup.
call :print Checking the backup copy.

if not exist "%USERPROFILE%\Desktop\Backup%now%.reg" (
    echo.An unexpected error has occurred.
    echo.
    echo.    Something went wrong.
    echo.    You manually create a backup of the registry before continuing.
    echo.
    echo.Press any key to continue . . .
    pause>nul
    goto :eof
) else (
    echo.The operation completed successfully.
    echo.
    echo.Press any key to continue . . .
    pause>nul
    goto :eof
)
:: ------------------------------------------------------------------------

:: /*************************************************************************************/


:: Uninstall Office 2016.
:: /*************************************************************************************/
:Office16

:: --------------------------------------------------
:: Closing apps.
call :print Microsoft Office, Internet Explorer y Windows Explorer go to close.

echo.    Please, save all open documents for continue.
echo.
echo.Press any key to continue . . .
pause>nul
:: --------------------------------------------------

:: --------------------------------------------------
:: Closing Office apps.
call :print Closing the Office apps . . .

taskkill /f /im winword.exe /t
taskkill /f /im excel.exe /t
taskkill /f /im powerpnt.exe /t
taskkill /f /im onenote.exe /t
taskkill /f /im outlook.exe /t
taskkill /f /im mspub.exe /t
taskkill /f /im msaccess.exe /t
taskkill /f /im infopath.exe /t
taskkill /f /im groove.exe /t
taskkill /f /im lync.exe /t
:: --------------------------------------------------

:: --------------------------------------------------
:: Closing Click-to-Run task.
call :print Closing the Office apps . . .

taskkill /f /im officeclicktorun.exe /t
taskkill /f /im officeondemand.exe /t
taskkill /f /im officec2rclient.exe /t
taskkill /f /im appvshnotify.exe /t
taskkill /f /im firstrun.exe /t
taskkill /f /im setup.exe /t
:: --------------------------------------------------

:: --------------------------------------------------
:: Closing others apps.
call :print Closing the Office apps . . .

taskkill /f /im integratedoffice.exe /t
taskkill /f /im integrator.exe /t
taskkill /f /im communicator.exe /t
taskkill /f /im msosync.exe /t
taskkill /f /im onenotem.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im mavinject32.exe /t
taskkill /f /im werfault.exe /t
taskkill /f /im perfboost.exe /t
taskkill /f /im roamingoffice.exe /t
taskkill /f /im msiexec.exe /t
taskkill /f /im ose.exe /t
:: --------------------------------------------------

:: --------------------------------------------------
:: Stopping Office Source Engine.
call :print Stopping Office Source Engine service . . .

net stop ose
 
call :print Stopping Office Source Engine service . . .

sc query ose | findstr /I /C:"STOPPED"
If %errorlevel% EQU 0 (
    sc config ose start= disabled obj= LocalSystem
)
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing Office files.
call :print Removing Office files . . .
 
if exist "%PROGRAMFILES%\Microsoft Office 15" (
    takeown /f "%PROGRAMFILES%\Microsoft Office 15"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft Office 15"
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office 15"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office 15" (
    takeown /f "%PROGRAMFILES(x86)%\Microsoft Office 15"
    attrib -r -s -h /s /d "%PROGRAMFILES(x86)%\Microsoft Office 15"
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office 15"
)

if exist "%PROGRAMFILES%\Microsoft Office\root\Integration" (
    cd /d "%PROGRAMFILES%\Microsoft Office\root\Integration"
    takeown /f C2RManifest*.xml
    attrib -r -s -h /s /d C2RManifest*.xml
    del /s /q /f C2RManifest*.xml
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\root\Integration" (
    cd /d "%PROGRAMFILES(x86)%\Microsoft Office\root\Integration"
    takeown /f C2RManifest*.xml
    attrib -r -s -h /s /d C2RManifest*.xml
    del /s /q /f C2RManifest*.xml
)
 
if exist "%PROGRAMFILES%\Microsoft Office\PackageManifest" (
    takeown /f "%PROGRAMFILES%\Microsoft Office\PackageManifest"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft Office\PackageManifest"
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office\PackageManifest"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\PackageManifest" (
    takeown /f "%PROGRAMFILES(x86)%\Microsoft Office\PackageManifest"
    attrib -r -s -h /s /d "%PROGRAMFILES(x86)%\Microsoft Office\PackageManifest"
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office\PackageManifest"
)

if exist "%PROGRAMFILES%\Microsoft Office\PackageSunrisePolicies" (
    takeown /f "%PROGRAMFILES%\Microsoft Office\PackageSunrisePolicies"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft Office\PackageSunrisePolicies"
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office\PackageSunrisePolicies"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\PackageSunrisePolicies" (
    takeown /f "%PROGRAMFILES(x86)%\Microsoft Office\PackageSunrisePolicies"
    attrib -r -s -h /s /d "%PROGRAMFILES(x86)%\Microsoft Office\PackageSunrisePolicies"
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office\PackageSunrisePolicies"
)

if exist "%PROGRAMFILES%\Microsoft Office\root" (
    takeown /f "%PROGRAMFILES%\Microsoft Office\root"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft Office\root"
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office\root"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\root" (
    takeown /f "%PROGRAMFILES(x86)%\Microsoft Office\root"
    attrib -r -s -h /s /d "%PROGRAMFILES(x86)%\Microsoft Office\root"
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office\root"
)

if exist "%PROGRAMFILES%\Microsoft Office\AppXManifest.xml" (
    takeown /f "%PROGRAMFILES%\Microsoft Office\AppXManifest.xml"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft Office\AppXManifest.xml"
    del /s /q /f "%PROGRAMFILES%\Microsoft Office\AppXManifest.xml"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\AppXManifest.xml" (
    takeown /f "%PROGRAMFILES(x86)%\Microsoft Office\AppXManifest.xml"
    attrib -r -s -h /s /d "%PROGRAMFILES(x86)%\Microsoft Office\AppXManifest.xml"
    del /s /q /f "%PROGRAMFILES(x86)%\Microsoft Office\AppXManifest.xml"
)

if exist "%PROGRAMFILES%\Microsoft Office\FileSystemMetadata.xml" (
    takeown /f "%PROGRAMFILES%\Microsoft Office\FileSystemMetadata.xml"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft Office\FileSystemMetadata.xml"
    del /s /q /f "%PROGRAMFILES%\Microsoft Office\FileSystemMetadata.xml"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\FileSystemMetadata.xml" (
    takeown /f "%PROGRAMFILES(x86)%\Microsoft Office\FileSystemMetadata.xml"
    attrib -r -s -h /s /d "%PROGRAMFILES(x86)%\Microsoft Office\FileSystemMetadata.xml"
    del /s /q /f "%PROGRAMFILES(x86)%\Microsoft Office\FileSystemMetadata.xml"
)

if exist "%PROGRAMDATA%\Microsoft\ClicToRun" (
    takeown /f "%PROGRAMDATA%\Microsoft\ClicToRun"
    attrib -r -s -h /s /d "%PROGRAMDATA%\Microsoft\ClicToRun"
    rmdir /s /q "%PROGRAMDATA%\Microsoft\ClicToRun"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun" (
    takeown /f "%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun"
    attrib -r -s -h /s /d "%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun"
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\ClickToRun" (
    takeown /f "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\ClickToRun"
    attrib -r -s -h /s /d "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\ClickToRun"
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\ClickToRun"
)

if exist "%PROGRAMDATA%\Microsoft\office\FFPackageLocker" (
    takeown /f "%PROGRAMDATA%\Microsoft\office\FFPackageLocker"
    attrib -r -s -h /s /d "%PROGRAMDATA%\Microsoft\office\FFPackageLocker"
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\FFPackageLocker"
)

if exist "%PROGRAMDATA%\Microsoft\office\ClickToRunPackageLocker" (
    takeown /f "%PROGRAMDATA%\Microsoft\office\ClickToRunPackageLocker"
    attrib -r -s -h /s /d "%PROGRAMDATA%\Microsoft\office\ClickToRunPackageLocker"
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\ClickToRunPackageLocker"
)

if exist "%PROGRAMDATA%\Microsoft\office\FFStatePBLocker" (
    takeown /f "%PROGRAMDATA%\Microsoft\office\FFStatePBLocker"
    attrib -r -s -h /s /d "%PROGRAMDATA%\Microsoft\office\FFStatePBLocker"
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\FFStatePBLocker"
)

if exist "%PROGRAMDATA%\Microsoft\office\Heartbeat" (
    takeown /f "%PROGRAMDATA%\Microsoft\office\Heartbeat"
    attrib -r -s -h /s /d "%PROGRAMDATA%\Microsoft\office\Heartbeat"
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\Heartbeat"
)

if exist "%USERPROFILE%\Microsoft Office" (
    takeown /f "%USERPROFILE%\Microsoft Office"
    attrib -r -s -h /s /d "%USERPROFILE%\Microsoft Office"
    rmdir /s /q "%USERPROFILE%\Microsoft Office"
)

if exist "%USERPROFILE%\Microsoft Office 15" (
    takeown /f "%USERPROFILE%\Microsoft Office 15"
    attrib -r -s -h /s /d "%USERPROFILE%\Microsoft Office 15"
    rmdir /s /q "%USERPROFILE%\Microsoft Office 15"
)

if exist "%USERPROFILE%\Microsoft Office 16" (
    takeown /f "%USERPROFILE%\Microsoft Office 16"
    attrib -r -s -h /s /d "%USERPROFILE%\Microsoft Office 16"
    rmdir /s /q "%USERPROFILE%\Microsoft Office 16"
)
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing scheduled tasks.
call :print Removing tasks . . .

schtasks.exe /delete /tn "FF_INTEGRATEDstreamSchedule" /f
schtasks.exe /delete /tn "FF_INTEGRATEDUPDATEDETECTION" /f
schtasks.exe /delete /tn "C2RAppVLoggingStart" /f
schtasks.exe /delete /tn "Office 15 Subscription Heartbeat" /f
schtasks.exe /delete /tn "\Microsoft\Office\Office 15 Subscription Heartbeat" /f
schtasks.exe /delete /tn "Microsoft Office 15 Sync Maintenance for {d068b555-9700-40b8-992c-f866287b06c1}" /f
schtasks.exe /delete /tn "\Microsoft\Office\OfficeInventoryAgentFallBack" /f
schtasks.exe /delete /tn "\Microsoft\Office\OfficeTelemetryAgentFallBack" /f
schtasks.exe /delete /tn "\Microsoft\Office\OfficeInventoryAgentLogOn" /f
schtasks.exe /delete /tn "\Microsoft\Office\OfficeTelemetryAgentLogOn" /f
schtasks.exe /delete /tn "Office Background Streaming" /f
schtasks.exe /delete /tn "\Microsoft\Office\Office Automatic Updates" /f
schtasks.exe /delete /tn "\Microsoft\Office\Office ClickToRun Service Monitor" /f
schtasks.exe /delete /tn "Office Subscription Maintenance" /f
schtasks.exe /delete /tn "\Microsoft\Office\Office Subscription Maintenance" /f
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing Click-to-Run service.
call :print Removing Click-to-Run service . . .

sc delete Clicktorunsvc
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing keys in the Registry.
call :print Removing keys in the Registry . . .

reg delete "HKCU\Software\Microsoft\Office\15.0\Registration" /f
reg delete "HKCU\Software\Microsoft\Office\16.0\Registration" /f
reg delete "HKCU\Software\Microsoft\Office\Registration" /f

reg delete "HKLM\SOFTWARE\Microsoft\AppVISV" /f

reg delete "HKLM\SOFTWARE\Microsoft\Office\15.0\Common\InstallRoot\Virtual" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\Common\InstallRoot\Virtual" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\Common\InstallRoot\Virtual" /f

reg delete "HKLM\SOFTWARE\Classes\CLSID\{2027FC3B-CF9D-4ec7-A823-38BA308625CC}" /f

reg delete "HKCU\SOFTWARE\Microsoft\Office\15.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRunStore" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\ClickToRunStore" /f
reg delete "HKCU\SOFTWARE\Microsoft\Office\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\ClickToRunStore" /f

reg delete "HKLM\Software\Microsoft\Office\15.0" /f
reg delete "HKLM\Software\Microsoft\Office\15.0" /f
reg delete "HKLM\Software\Microsoft\Office\16.0" /f
reg delete "HKLM\Software\Microsoft\Office\16.0" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Lync15" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Lync16" /f

reg delete "HKLM\SOFTWARE\Classes\Protocols\Handler\osf" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 1 (ErrorConflict)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 2 (SyncInProgress)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 3 (InSync)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 1 (ErrorConflict)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 2 (SyncInProgress)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 3 (InSync)" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{B28AA736-876B-46DA-B3A8-84C5E30BA492}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{8B02D659-EBBB-43D7-9BBA-52CF22C5B025}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{42042206-2D85-11D3-8CFF-005004838597}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{506F4668-F13E-4AA1-BB04-B43203AB3CC0}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{D66DC78C-4F61-447F-942B-3FB6980118CF}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{46137B78-0EC3-426D-8B89-FF7C3A458B5E}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{B4F3A835-0E21-4959-BA22-42B3008E02FF}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{D0498E0A-45B7-42AE-A9AA-ABA463DBD3BF}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{B4F3A835-0E21-4959-BA22-42B3008E02FF}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{D0498E0A-45B7-42AE-A9AA-ABA463DBD3BF}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\Namespace\{B28AA736-876B-46DA-B3A8-84C5E30BA492}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NetworkNeighborhood\Namespace\{46137B78-0EC3-426D-8B89-FF7C3A458B5E}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Microsoft Office Temp Files" /f

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
set valor=0FF1CE

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
set valor=O365

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
set valor=ProfessionaRetail

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set valor=0FF1CE

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set valor=O365

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set valor=ProfessionalRetail

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing shortcuts.
call :print Removing shortcuts . . .
 
if exist "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016" (
    takeown /f "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    rmdir /s /q "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
)

if exist "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016" (
    takeown /f "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    rmdir /s /q "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
)

if exist "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools" (
    takeown /f "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    attrib -r -s -h /s /d "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    rmdir /s /q "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
)

cd /d "%PROGRAMFILES%\Microsoft\Windows\Start Menu\Programs"
takeown /f *2016.lnk
attrib -r -s -h /s /d *2016.lnk
del /s /f /q *2016.lnk
 
if exist "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016" (
    takeown /f "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    attrib -r -s -h /s /d "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    rmdir /s /q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
)

if exist "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016" (
    takeown /f "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    attrib -r -s -h /s /d "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    rmdir /s /q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
)

if exist "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools" (
    takeown /f "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    attrib -r -s -h /s /d "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    rmdir /s /q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
)

cd /d "%APPDATA%\Microsoft\Windows\Start Menu\Programs"
takeown /f *2016.lnk
attrib -r -s -h /s /d *2016.lnk
del /s /f /q *2016.lnk
 
if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016" (
    takeown /f "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    attrib -r -s -h /s /d "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    rmdir /s /q "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
)

if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016" (
    takeown /f "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    attrib -r -s -h /s /d "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    rmdir /s /q "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
)

if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools" (
    takeown /f "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    attrib -r -s -h /s /d "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    rmdir /s /q "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
)

cd /d "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs"
takeown /f *2016.lnk
attrib -r -s -h /s /d *2016.lnk
del /s /f /q *2016.lnk
 
if exist "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016" (
    takeown /f "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    attrib -r -s -h /s /d "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
    rmdir /s /q "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016"
)

if exist "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016" (
    takeown /f "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    attrib -r -s -h /s /d "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
    rmdir /s /q "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Herramientas de Microsoft Office 2016"
)

if exist "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools" (
    takeown /f "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    attrib -r -s -h /s /d "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
    rmdir /s /q "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2016 Tools"
)

cd /d "%USERPROFILE%\Microsoft\Windows\Start Menu\Programs"
takeown /f *2016.lnk
attrib -r -s -h /s /d *2016.lnk
del /s /f /q *2016.lnk
:: --------------------------------------------------

:: --------------------------------------------------
:: End process.
call :print The operation completed successfully.

echo.Press any key to continue . . .
pause>nul
goto :eof
:: --------------------------------------------------

:: /*************************************************************************************/


:: Delete waste of Office.
:: /*************************************************************************************/
:All

:: --------------------------------------------------
:: Closing apps.
call :print Microsoft Office, Internet Explorer y Windows Explorer go to close.

echo.    Please, save all open documents for continue.
echo.
echo.Press any key to continue . . .
pause>nul
:: --------------------------------------------------

:: --------------------------------------------------
:: Closing Office apps.
call :print Closing the Office apps . . .

taskkill /f /im winword.exe /t
taskkill /f /im excel.exe /t
taskkill /f /im powerpnt.exe /t
taskkill /f /im onenote.exe /t
taskkill /f /im outlook.exe /t
taskkill /f /im mspub.exe /t
taskkill /f /im msaccess.exe /t
taskkill /f /im infopath.exe /t
taskkill /f /im groove.exe /t
taskkill /f /im lync.exe /t
:: --------------------------------------------------

:: --------------------------------------------------
:: Closing Click-to-Run task.
call :print Closing the Office apps . . .

taskkill /f /im officeclicktorun.exe /t
taskkill /f /im officeondemand.exe /t
taskkill /f /im officec2rclient.exe /t
taskkill /f /im appvshnotify.exe /t
taskkill /f /im firstrun.exe /t
taskkill /f /im setup.exe /t
:: --------------------------------------------------

:: --------------------------------------------------
:: Closing others apps.
call :print Closing the Office apps . . .

taskkill /f /im integratedoffice.exe /t
taskkill /f /im integrator.exe /t
taskkill /f /im communicator.exe /t
taskkill /f /im msosync.exe /t
taskkill /f /im onenotem.exe /t
taskkill /f /im iexplore.exe /t
taskkill /f /im mavinject32.exe /t
taskkill /f /im werfault.exe /t
taskkill /f /im perfboost.exe /t
taskkill /f /im roamingoffice.exe /t
taskkill /f /im msiexec.exe /t
taskkill /f /im ose.exe /t
:: --------------------------------------------------

:: --------------------------------------------------
:: Stopping Office Source Engine.
call :print Stopping Office Source Engine service . . .

net stop ose

call :print Stopping Office Source Engine service . . .

sc query ose | findstr /I /C:"STOPPED"
If %errorlevel% EQU 0 (
    sc config ose start= disabled obj= LocalSystem
)
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing Office files.
call :print Removing Office files . . .
 
if exist "%PROGRAMFILES%\Microsoft Office 15" (
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office 15"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office 15" (
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office 15"
)

if exist "%PROGRAMFILES%\Microsoft Office\root\Integration" (
    cd /d "%PROGRAMFILES%\Microsoft Office\root\Integration"
    del /s /q /f C2RManifest*.xml
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\root\Integration" (
    cd /d "%PROGRAMFILES(x86)%\Microsoft Office\root\Integration"
    del /s /q /f C2RManifest*.xml
)
 
if exist "%PROGRAMFILES%\Microsoft Office\PackageManifest" (
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office\PackageManifest"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\PackageManifest" (
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office\PackageManifest"
)

if exist "%PROGRAMFILES%\Microsoft Office\PackageSunrisePolicies" (
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office\PackageSunrisePolicies"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\PackageSunrisePolicies" (
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office\PackageSunrisePolicies"
)

if exist "%PROGRAMFILES%\Microsoft Office\root" (
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office\root"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\root" (
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office\root"
)

if exist "%PROGRAMFILES%\Microsoft Office\AppXManifest.xml" (
    del /s /q /f "%PROGRAMFILES%\Microsoft Office\AppXManifest.xml"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\AppXManifest.xml" (
    del /s /q /f "%PROGRAMFILES(x86)%\Microsoft Office\AppXManifest.xml"
)

if exist "%PROGRAMFILES%\Microsoft Office\FileSystemMetadata.xml" (
    del /s /q /f "%PROGRAMFILES%\Microsoft Office\FileSystemMetadata.xml"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office\FileSystemMetadata.xml" (
   del /s /q /f "%PROGRAMFILES(x86)%\Microsoft Office\FileSystemMetadata.xml"
)

if exist "%PROGRAMDATA%\Microsoft\ClicToRun" (
    rmdir /s /q "%PROGRAMDATA%\Microsoft\ClicToRun"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun" (
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\ClickToRun"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\ClickToRun" (
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\ClickToRun"
)

if exist "%PROGRAMDATA%\Microsoft\office\FFPackageLocker" (
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\FFPackageLocker"
)

if exist "%PROGRAMDATA%\Microsoft\office\ClickToRunPackageLocker" (
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\ClickToRunPackageLocker"
)

if exist "%PROGRAMDATA%\Microsoft\office\FFStatePBLocker" (
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\FFStatePBLocker"
)

if exist "%PROGRAMDATA%\Microsoft\office\Heartbeat" (
    rmdir /s /q "%PROGRAMDATA%\Microsoft\office\Heartbeat"
)

if exist "%USERPROFILE%\Microsoft Office" (
    rmdir /s /q "%USERPROFILE%\Microsoft Office"
)

if exist "%USERPROFILE%\Microsoft Office 15" (
    rmdir /s /q "%USERPROFILE%\Microsoft Office 15"
)

if exist "%USERPROFILE%\Microsoft Office 16" (
    rmdir /s /q "%USERPROFILE%\Microsoft Office 16"
)

if exist "%PROGRAMFILES%\Microsoft Office" (
    rmdir /s /q "%PROGRAMFILES%\Microsoft Office"
) else if exist "%PROGRAMFILES(x86)%\Microsoft Office" (
    rmdir /s /q "%PROGRAMFILES(x86)%\Microsoft Office"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\Office11" (
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\Office11"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office11" (
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office11"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\Office12" (
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\Office12"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office12" (
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office12"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\Office14" (
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\Office14"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office14" (
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office14"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\Office15" (
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\Office15"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office15" (
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Office15"
)

if exist "%COMMONPROGRAMFILES%\Microsoft Shared\Source Engine" (
    rmdir /s /q "%COMMONPROGRAMFILES%\Microsoft Shared\Source Engine"
) else if exist "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Source Engine" (
    rmdir /s /q "%COMMONPROGRAMFILES(x86)%\Microsoft Shared\Source Engine"
)

if exist "%APPDATA%\microsoft\templates\Normal.dotm" (
    del /s /q /f "%APPDATA%\microsoft\templates\Normal.dotm"
)

if exist "%APPDATA%\microsoft\templates\Word.dotx" (
    del /s /q /f "%APPDATA%\microsoft\templates\Word.dotx"
)

if exist "%APPDATA%\microsoft\document building blocks\3082\15\Building Blocks.dotx" (
    del /s /q /f "%APPDATA%\microsoft\document building blocks\3082\15\Building Blocks.dotx"
)

if exist "%ALLUSERSPROFILE%\Microsoft\Office" (
    rmdir /s /q "%ALLUSERSPROFILE%\Microsoft\Office"
)

if exist "%USERPROFILE%\Microsoft\Office" (
    rmdir /s /q "%USERPROFILE%\Microsoft\Office"
)
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing temporary files in Windows.
call :print Removing temporary files in Windows . . .

cd /d %TEMP%
del /s /f /q *.*
:: --------------------------------------------------

:: --------------------------------------------------
:: Removing keys in the Registry.
call :print Removing keys in the Registry . . .

reg delete "HKCU\Software\Microsoft\Office\15.0\Registration" /f
reg delete "HKCU\Software\Microsoft\Office\16.0\Registration" /f
reg delete "HKCU\Software\Microsoft\Office\Registration" /f

reg delete "HKLM\SOFTWARE\Microsoft\AppVISV" /f

reg delete "HKLM\SOFTWARE\Microsoft\Office\15.0\Common\InstallRoot\Virtual" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\Common\InstallRoot\Virtual" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\Common\InstallRoot\Virtual" /f

reg delete "HKLM\SOFTWARE\Classes\CLSID\{2027FC3B-CF9D-4ec7-A823-38BA308625CC}" /f

reg delete "HKCU\SOFTWARE\Microsoft\Office\15.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\15.0\ClickToRunStore" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\16.0\ClickToRunStore" /f
reg delete "HKCU\SOFTWARE\Microsoft\Office\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\ClickToRun" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office\ClickToRunStore" /f

reg delete "HKLM\Software\Microsoft\Office\15.0" /f
reg delete "HKLM\Software\Microsoft\Office\15.0" /f
reg delete "HKLM\Software\Microsoft\Office\16.0" /f
reg delete "HKLM\Software\Microsoft\Office\16.0" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Lync15" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Lync16" /f

reg delete "HKLM\SOFTWARE\Classes\Protocols\Handler\osf" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 1 (ErrorConflict)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 2 (SyncInProgress)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 3 (InSync)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 1 (ErrorConflict)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 2 (SyncInProgress)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Microsoft SPFS Icon Overlay 3 (InSync)" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{B28AA736-876B-46DA-B3A8-84C5E30BA492}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{8B02D659-EBBB-43D7-9BBA-52CF22C5B025}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{42042206-2D85-11D3-8CFF-005004838597}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{993BE281-6695-4BA5-8A2A-7AACBFAAB69E}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{C41662BB-1FA0-4CE0-8DC5-9B7F8279FF97}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{506F4668-F13E-4AA1-BB04-B43203AB3CC0}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{D66DC78C-4F61-447F-942B-3FB6980118CF}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\{46137B78-0EC3-426D-8B89-FF7C3A458B5E}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{B4F3A835-0E21-4959-BA22-42B3008E02FF}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{D0498E0A-45B7-42AE-A9AA-ABA463DBD3BF}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{31D09BA0-12F5-4CCE-BE8A-2923E76605DA}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{B4F3A835-0E21-4959-BA22-42B3008E02FF}" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{D0498E0A-45B7-42AE-A9AA-ABA463DBD3BF}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\Namespace\{B28AA736-876B-46DA-B3A8-84C5E30BA492}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NetworkNeighborhood\Namespace\{46137B78-0EC3-426D-8B89-FF7C3A458B5E}" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Microsoft Office Temp Files" /f

reg delete "HKCU\Software\Microsoft\Office" /f
reg delete "HKLM\SOFTWARE\Microsoft\Office" /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\ose" /f

reg delete "HKLM\SOFTWARE\Microsoft\AppVISV" /f

reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office" /f

set clave=HKLM\SOFTWARE\Microsoft\Office\Delivery\SourceEngine\Downloads
set valor=0FF1CE}

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\Delivery\SourceEngine\Downloads
set valor=0FF1CE}

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
set valor=0FF1CE

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
set valor=O365

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
set valor=ProfessionaRetail

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
   reg delete "%%a - es-es" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set valor=0FF1CE

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set valor=O365

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)

set clave=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
set valor=ProfessionalRetail

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a - en-us" /f
    reg delete "%%a - es-es" /f
)

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ENTERPRISE" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ULTIMATE" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PRO" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROPLUS" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ENTERPRISER" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ULTIMATER" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROR" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.HOMESTUDENTR" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.STANDARDR" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office14.SMALLBUSINESSR" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ENTERPRISE" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ULTIMATE" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PRO" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PROPLUS" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ENTERPRISER" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ULTIMATER" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PROR" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HOMESTUDENTR" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\STANDARDR" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SMALLBUSINESSR" /f

reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ENTERPRISE" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ULTIMATE" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PRO" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROPLUS" /f

reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ENTERPRISER" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.ULTIMATER" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.PROR" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.HOMESTUDENTR" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.STANDARDR" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Office14.SMALLBUSINESSR" /f

reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ENTERPRISE" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ULTIMATE" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\PRO" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\PROPLUS" /f

reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ENTERPRISER" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ULTIMATER" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\PROR" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\HOMESTUDENTR" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\STANDARDR" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SMALLBUSINESSR" /f

set clave=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products
set valor=F01FEC

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Features
set valor=F01FEC

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Products
set valor=F01FEC

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\UpgradeCodes
set valor=F01FEC

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Win32Assemblies
set valor=Office16

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Win32Assemblies
set valor=Office15

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Win32Assemblies
set valor=Office14

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Win32Assemblies
set valor=Office12

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

set clave=HKCR\Installer\Win32Assemblies
set valor=Office11

for /f %%a in ('"reg query "%clave%" | find "%valor%""') do (
    reg delete "%%a" /f
)

reg delete "HKU\.DEFAULT\Software\Microsoft\Office" /f

reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winword.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\excel.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\powerpnt.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\onenote.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\outlook.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\mspub.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msaccess.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\infopath.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\groove.exe" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\lync.exe" /f
:: --------------------------------------------------

:: --------------------------------------------------
:: End process.
call :print The operation completed successfully.

echo.Press any key to continue . . .
pause>nul
goto :eof
:: --------------------------------------------------

:: /*************************************************************************************/


:: End tool.
:: /*************************************************************************************/
:close
del %0
exit
:: /*************************************************************************************/

但是依然很遺憾,該方法并未對本人電腦生效

方法四——刪除注冊表

該方法由微軟技術(shù)工程師提供,本人實(shí)操生效并解決了文件名自動更改問題

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?快速修復(fù)方法與方法二所述類似(將勾選聯(lián)機(jī)修復(fù)更改為勾選快速修復(fù))

怎么取消文件名后面自動加1,修理工具,powerpoint,microsoft,word,excel

?之后,自動修改文件名的問題解決文章來源地址http://www.zghlxwxcb.cn/news/detail-524101.html

到了這里,關(guān)于對于雙擊用Microsoft Office(包括Word、Excel、Powerpoint)打開文件之后展示文件名自動更改、文件名加1等情況的解決辦法的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • C#使用Microsoft.office.interop.PowerPoint生成PPT

    開發(fā)的一個系統(tǒng)需要用到自動生成ppt,網(wǎng)上的例子比較少,且有很多還需要csdn幣下載,有些下載下來了還不是那么回事,就是個坑。后來考慮了開源組件Apose.Slides和Spire.Presentation,但是這兩個都是商業(yè)軟件,試用版和免費(fèi)版的只有能生成前10頁,還帶有水印。Free Spire.Presentat

    2024年02月11日
    瀏覽(29)
  • 修改注冊表來解決Microsoft Office中word和excel表格打開新文件時前面最小化的文件重新彈出顯示的問題

    word: 1. 關(guān)閉所有Word窗口。 2. 打開注冊表編輯器(運(yùn)行輸入regedit并按回車) 3. 打開以下注冊表路徑: HKEY_CLASSES_ROOTWord.Document.12ShellOpencommand 4. 右擊右側(cè)欄\\\"默認(rèn)\\\",點(diǎn)修改,在數(shù)據(jù)數(shù)值框中,在/n前加上/q命令(/q和/n中間有個空格) 5. 點(diǎn)擊確定。 注:(1)針對docx文件 HKEY_C

    2024年02月04日
    瀏覽(39)
  • 在線預(yù)覽Word、Excel、PowerPoint等文件

    在我們工作時,經(jīng)常會有在線查看各種不同類型的文件的需要,如Word文檔、Excel表格、PowerPoint幻燈片和PDF等??梢灾苯釉谶@里預(yù)覽:https://www.compdf.com/webviewer/demo 方案一: 使用 XDOC 可以實(shí)現(xiàn)預(yù)覽以 DataURI 表示的 word 文檔,此外 XDOC 還可以實(shí)現(xiàn)文本、帶參數(shù)文本、html文本、j

    2024年02月13日
    瀏覽(19)
  • 重裝Office后打開Powerpoint和excel提示找不到VCRUNTIME140_1.dll的解決辦法(親測成功,簡單有效)

    重裝Office后打開Powerpoint和excel提示找不到VCRUNTIME140_1.dll的解決辦法(親測成功,簡單有效)

    1.下載VCRUNTIME140_1.dll (可搜索下載途徑) 2.將其復(fù)制到OFFICE安裝目錄,如下 C://Program Files // Microsoft //Office16 3.再次打開即成功!

    2024年02月12日
    瀏覽(94)
  • Microsoft office Word 批注相關(guān)問題解決

    Microsoft office Word 批注相關(guān)問題解決

    1.菜單欄欄點(diǎn)擊 審閱 2.在審閱工具欄中找到批注框選擇顯示批注 此時會顯示出批閱欄 3.將鼠標(biāo)放置需增添批注的位置上點(diǎn)擊新建批注,則可進(jìn)行編輯。 在審閱菜單下找到修訂欄中標(biāo)記框位置選擇無標(biāo)記,此時Word中無批注顯示(打印或轉(zhuǎn)換PDF文件也不會顯示批注)同理如選擇

    2024年02月05日
    瀏覽(17)
  • C#用Microsoft.Office.Interop.Word生成WORD公式

    using Word = Microsoft.Office.Interop.Word; ? ? ? ? ? ? ? ? ?Word.Application myWord = new Word.Application(); ? ? ? ? ? ? ? ?myWord.Visible = true; ? ? ? ? ? ? ? ?object missing = System.Reflection.Missing.Value; ? ? ? ? ? ? ? ?Word.Document myDocument = myWord.Documents.Add(ref missing); ? ? ? ? ? ? ? ?//頁邊距 ?

    2024年02月07日
    瀏覽(19)
  • 在Microsoft Office Word中體驗(yàn)筆墨飛揚(yáng)的感覺(如何在Office Word中使用畫筆功能)

    在Microsoft Office Word中體驗(yàn)筆墨飛揚(yáng)的感覺(如何在Office Word中使用畫筆功能)

    單擊開始菜單中的“Office”,單擊左側(cè)最上方的小房子圖標(biāo),在右側(cè)單擊“安裝Office”。 在彈出的網(wǎng)頁中單擊“安裝Office”,在彈出的窗口中單擊“安裝”。 之后會下載一個安裝程序,單擊安裝程序進(jìn)行安裝。 安裝完成后,打開開始菜單,可在“最近添加”一欄看到Word,單

    2024年02月10日
    瀏覽(23)
  • Microsoft Office Word導(dǎo)出高清PDF步驟

    Microsoft Office Word導(dǎo)出高清PDF步驟

    寫論文后經(jīng)常需要導(dǎo)出PDF,但若插進(jìn)Word中的不是矢量圖,會導(dǎo)致圖片受損不高清。 常用的辦法有: 方法1、word內(nèi)直接另存為PDF 方法2、word內(nèi)導(dǎo)出-創(chuàng)建PDF/XPS文檔 方法3、word內(nèi)打印,可以選擇打印機(jī)為Microsoft Print to PDF等,選擇打印的方法會失去超鏈接,目錄標(biāo)簽。 方法4、Mi

    2024年02月04日
    瀏覽(19)
  • C# 使用Microsoft.Office.Interop.Word 將WORD轉(zhuǎn)成PDF

    C# 使用Microsoft.Office.Interop.Word 將WORD轉(zhuǎn)成PDF

    ? ? /// summary ? ? /// 測試文件 ? ? /// /summary ? ? /// param name=\\\"input\\\"文件名/param ? ? /// returns/returns ? ? [ApiDescriptionSettings(Name = \\\"Getword\\\")] ? ? [HttpGet] ? ? public IActionResult getWord(string wordName) ? ? { ? ? ? ? string templatePath = \\\"D:\\\\Template\\\\wordTemplate.docx\\\"; ? ? ? ? string log = \\\"D:\\\\Templa

    2024年03月21日
    瀏覽(23)
  • microsoft.office.interop.word 怎樣 讀取 某個漢字 字體顏色為紅色

    SKY[管理]筱傑 @SKY[機(jī)器]筱淋 microsoft.office.interop.word 怎樣 讀取 某個漢字 字體顏色為紅色呢? 要讀取某個漢字的字體顏色是否為紅色,您可以使用Microsoft.Office.Interop.Word來進(jìn)行操作。以下是一個示例代碼,可以幫助您實(shí)現(xiàn)該功能: 請注意,您需要替換\\\"your_document_path.docx\\\"為您要

    2024年02月09日
    瀏覽(22)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包