질문과 답변

윈 도 우 배치 파일을 이용해서 폴더 일괄삭제 하려고 하는데요?

2015.12.20 21:49

그린보이 조회:869

제가 윈도우10에서 Windows Powershell를 관리자 권한으로 실행해서 하나하나 비활성화 하고

win10 PE로 부팅 해서 기본앱이 깔린 폴더를 일괄로 싹 지우려고 밑과 같이 만들었는데.. 안지워 지더라구요..

잘 아시는분 수정좀 부탁 드립니다..

예를 *3DBuilder* 를 들어 한거는 앞뒤로 많은 숫자와 영어가 들어가 *로 하면 뒤에 영문과 숫자 무시 하고

3DBuilder만 들어간 폴더 모두 지울수 있게 하려고 한거 입니다..

부탁좀 드립니다.. 폴더 하나하나 지우려니 오래걸려서요..


@echo off
cls
echo.
rd "C:\Program Files\WindowsApps\*3DBuilder*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*BingFinance*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*BingSports*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*CommsPhone*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*MicrosoftOfficeHub*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*Onenote*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*Sway*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*people*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*SkypeApp*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*solitairecollection*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*windowscamera*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*windowsphone*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*xboxapp*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*zunemusic*" /Q /S > NUL 2>&1
rd "C:\Program Files\WindowsApps\*zunevideo*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications\*3DBuilder*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*BingFinance*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*BingSports*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*CommsPhone*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*MicrosoftOfficeHub*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*Onenote*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*Sway*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*people*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*SkypeApp*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*solitairecollection*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*windowscamera*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*windowsphone*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*xboxapp*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*zunemusic*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Applications*zunevideo*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*3DBuilder*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*BingFinance*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*BingSports*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*CommsPhone*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*MicrosoftOfficeHub*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*Onenote*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*Sway*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*people*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*SkypeApp*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*solitairecollection*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*windowscamera*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*windowsphone*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*xboxapp*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*zunemusic*" /Q /S > NUL 2>&1
rd "C:\Windows\InfusedApps\Packages\*zunevideo*" /Q /S > NUL 2>&1

번호 제목 글쓴이 조회 등록일
[공지] 질문과 답변 게시판 이용간 유의사항 gooddew - -
» 윈 도 우| 배치 파일을 이용해서 폴더 일괄삭제 하려고 하는데요? [2] 그린보이 869 12-20
60835 윈 도 우| 윈도우 설치시 [1] 화이팅맨 781 12-20
60834 소프트웨어| 카스퍼스키 버전 [3] 1992 1325 12-20
60833 윈 도 우| 베트남産 PE 내부 파일 버전 업 하려는 데요....7-zip... [2] 무주처사 928 12-20
60832 윈 도 우| 윈10 10586빌드 뭐가 달라졌나요? 에어로글래스 에러 [1] 이탈 1387 12-20
60831 기 타| 쓸만한 클라우드 서비스가 뭐가 있을까요? [5] ccvc12 1149 12-20
60830 윈 도 우| 윈10 10586빌드...... [1] 이탈 1273 12-20
60829 윈 도 우| 통합 윈도우에서요.. [1] 테츠로 1074 12-20
60828 하드웨어| HDMI 케이블 리피터 없이 최대 몇 미터까지 연결해보셨나요? [5] ee_do 1347 12-20
60827 기 타| psiphon 이거 사용하는데 이거 키면 [2] ㄷㄱ 778 12-20
60826 윈 도 우| 윈10 정품인증 조건이 어떻게 되나요? [6] 메리아 2989 12-20
60825 윈 도 우| 윈도 8.1에서 윈도10으로 업그레이드 된 노트북 포맷하면? [2] 비오는하루 1074 12-20
60824 윈 도 우| 팟플레이어가 이상하네요 [1] 굿듀님스토 1098 12-20
60823 윈 도 우| 11082 설치했는데 히든 월페이퍼는 어디 있을까요? 유기농 761 12-20
60822 기 타| "EBS 명의 2015년12월 18일 방영 죽음 혹은 장애-뇌졸... [2] murimgasa 1474 12-20
60821 윈 도 우| 배치 파일을 이용해서 폴더 일괄삭제 하려고 하는데요? [2] 그린보이 950 12-20
60820 윈 도 우| suk님 질문 있습니다.. [5] 테츠로 979 12-20
60819 윈 도 우| RS111082에서 파일 복사 이동시 메세지 박스가 안보입니다. [3] 희망성사 734 12-20
60818 하드웨어| 노트북이..ㅠㅠ [2] goldshot 918 12-20
60817 윈 도 우| 윈도우10 X86 ,X64 [3] 즙포사신 2049 12-20
XE1.11.6 Layout1.4.8