Electronic cmd c xcopy dp0cwindowssyswow64

Info icon This preview shows pages 15–18. Sign up to view the full content.

View Full Document Right Arrow Icon
Electronic" cmd /c xcopy "%~dp0C\Windows\SysWOW64" "%WINDIR%\System32" /S /I /Y
Image of page 15

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CD /d "%~dp0" :: [[[OPTIONAL: IT IS A PLACE FOR ADDITIONAL x86 Windows COMMANDS]]] regedit.exe -s "x86 Windows TC Works.reg" :: x86 Windows END goto OUT :OUT PAUSE EXIT
Image of page 16
Пример CMD файла: SymLink DeInstaller.cmd @Echo off Echo ############################################################ Echo ## ## Echo ## SymLink DeInstaller ## Echo ## ## Echo ## !ATTENTION! ## Echo ## ## Echo ## THIS CMD FILE REMOVES THE SYMLINKS OR !ACTUAL FOLDERS! ## Echo ## !Edit VST 2 paths in this file, if necessary! ## Echo ## ## Echo ############################################################ chcp 861>nul PAUSE :: BatchGotAdmin BEGIN | :: Check for permissions >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT %\system32\config\system" :: If error flag set, we do not have admin. if '%errorlevel%' NEQ '0' ( echo Requesting administrative privileges... goto UACPrompt ) else ( goto gotAdmin ) :UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%~dp0getadmin.vbs" echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%~dp0getadmin.vbs" "%~dp0getadmin.vbs" exit /B :gotAdmin if exist "%~dp0getadmin.vbs" ( del "%~dp0getadmin.vbs" ) pushd "%CD%" CD /D "%~dp0" :: BatchGotAdmin END :: x86? BEGIN Set xOS=x64& If "%PROCESSOR_ARCHITECTURE%"=="x86" ( If Not Defined PROCESSOR_ARCHITEW6432 Set xOS=x86 ) Echo OS - %xOS% If "%xOS%"=="x86" ( goto x86Windows ) Else ( goto x64Windows ) :: x86? END GOTO START_POINT :: Source Directories Structure BEGIN Note: Characters "- ", before these lines, mean - "not for x86 Windows". C\Program Files (x86)\TC Electronic C\Program Files (x86)\TCWorks - C\Program Files (x86)\VstPlugins\TC Electronic x64 C\Program Files (x86)\VstPlugins\TC Electronic x86 - C\Program Files\Common Files\VST3\TC Electronic C\Program Files (x86)\Common Files\VST3\TC Electronic - C\Program Files\Common Files\Avid\Audio\Plug-Ins\TC Electronic
Image of page 17

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
C\Program Files (x86)\Common Files\Avid\Audio\Plug-Ins\TC Electronic C\Program Files (x86)\Common Files\Digidesign\DAE\Plug-Ins\TC Electronic :: Source Directories Structure END :START_POINT :x64Windows :: x64 Windows BEGIN cmd /c rmdir "%PROGRAMFILES(x86)%\TC Electronic" /s /q cmd /c rmdir "%PROGRAMFILES(x86)%\TCWorks" /s /q cmd /c rmdir "%PROGRAMFILES(x86)%\VstPlugins\TC Electronic x64" /s /q cmd /c rmdir "%PROGRAMFILES(x86)%\VstPlugins\TC Electronic x86" /s /q cmd /c rmdir "%COMMONPROGRAMFILES%\VST3\TC Electronic" /s /q cmd /c rmdir "%COMMONPROGRAMFILES(x86)%\VST3\TC Electronic" /s /q REM cmd /c rmdir "%COMMONPROGRAMFILES%\Avid\Audio\Plug-Ins\TC Electronic" /s /q REM cmd /c rmdir "%COMMONPROGRAMFILES(x86)%\Avid\Audio\Plug-Ins\TC Electronic" /s /q REM cmd /c rmdir "%COMMONPROGRAMFILES(x86)%\Digidesign\DAE\Plug-Ins\TC Electronic" /s /q CD /d "%~dp0" :: [[[OPTIONAL: IT IS A PLACE FOR ADDITIONAL x64 Windows COMMANDS]]] REG DELETE "HKEY_CURRENT_USER\software\classes\Wow6432Node\CLSID\{BF89B19C- 9CD4-42E5-A64D-4281A87040A9}" /f REG DELETE "HKEY_CURRENT_USER\software\TC Works\Native Bundle" /f :: x64 Windows END goto OUT :x86Windows :: x86 Windows BEGIN cmd /c rmdir "%PROGRAMFILES%\TC Electronic" /s /q cmd /c rmdir "%PROGRAMFILES%\TCWorks" /s /q cmd /c rmdir "%PROGRAMFILES%\VstPlugins\TC Electronic x86" /s /q cmd /c rmdir "%COMMONPROGRAMFILES%\VST3\TC Electronic" /s /q REM cmd /c rmdir "%COMMONPROGRAMFILES%\Avid\Audio\Plug-Ins\TC Electronic" /s /q REM cmd /c rmdir "%COMMONPROGRAMFILES%\Digidesign\DAE\Plug-Ins\TC Electronic" /s /q CD /d "%~dp0" :: [[[OPTIONAL: IT IS A PLACE FOR ADDITIONAL x86 Windows COMMANDS]]] REG DELETE "HKEY_CURRENT_USER\software\classes\CLSID\{BF89B19C-9CD4-42E5-A64D- 4281A87040A9}\InprocServer32" /f REG DELETE "HKEY_CURRENT_USER\software\TC Works\Native Bundle" /f :: x86 Windows END goto OUT :OUT PAUSE EXIT
Image of page 18
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern