yosoysupercholo

programa activar mp3 encoder

Oct 25th, 2011
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.33 KB | None | 0 0
  1. ::PROGRAMA PARA Activar MP3 encoder en Windows Vista/7
  2. ::EL Windows Vista/7 viene con el codificador MP3 desactivado (solo viene con el ::decodificador), por lo que nos podemos encontrar algún problema a la hora de convertir o ::capturar audio. Para activarlo
  3. :: Tenemos que tener permisos de Administrador
  4. @echo off
  5. echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  6. echo ³ Windows Vista Fix for Fraunhofer IIS MPEG Layer-3 Codec ³
  7. echo ³ Revision 3 ³
  8. echo ³ July 6, 2009 ³
  9. echo ³ Copyright (C) 2007-2009 Chortkeh. All rights reserved. ³
  10. echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  11. echo.
  12. rem Preserve current directory for further referrings.
  13. set InitialDirectory=%cd%
  14. echo Removing the advanced edition of Fraunhofer IIS MPEG Layer-3 Codec...
  15. reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc" /v "C:\Windows\System32\l3codeca.acm" /f
  16. echo.
  17. echo Activating the professional edition of Fraunhofer IIS MPEG Layer-3 Codec...
  18. reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc" /v "l3codecp.acm" /t REG_SZ /d "Fraunhofer IIS MPEG Audio Layer-3 Codec (professional)" /f
  19. if errorlevel 1 (
  20. echo Registry manipulation error.
  21. goto :Error
  22. )
  23. reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32" /v "msacm.l3acm" /t REG_SZ /d "l3codecp.acm" /f
  24. if errorlevel 1 (
  25. echo Registry manipulation error.
  26. goto :Error
  27. )
  28. echo.
  29. pause
  30. goto :EOF
  31.  
  32. rem --------------------------------------------------------------------------
  33.  
  34. :Error
  35. echo.
  36. echo Patching failed.
  37. echo.
  38. echo Checking for a solution to the problem...
  39. echo.
  40. rem Check to see if initial directory differs from system32, becasue if batch
  41. rem file was run-as-administrator, the initial directory would be System32.
  42. if /i not "%InitialDirectory%" equ "%SystemRoot%\system32" (
  43. echo * The patcher must be run as administrator. To do so, right-click on
  44. echo the patcher file and select run as administrator.
  45. ) else (
  46. echo * The patcher requires administrative privileges to complete the process.
  47. )
  48. echo.
  49. pause
  50. goto :EOF
  51.  
  52. rem --------------------------------------------------------------------------
  53.  
Advertisement
Add Comment
Please, Sign In to add comment