Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set user=%USERNAME%
- call "%~dp0log" %~nx0: ==============================================
- call "%~dp0log" %~nx0: Konfiguracja folderow uzytkownika %user%
- call "%~dp0log" %~nx0: ==============================================
- echo ==============================================
- echo Konfiguracja folderow uzytkownika %user%
- echo ==============================================
- taskkill /f /im explorer.exe | "%~dp0log" /fifo %~nx0: 2>nul
- timeout /t 2 /nobreak >nul
- call "%~dp0log" %~nx0: D:\Pobrane
- echo D:\Pobrane
- if not exist "D:\Pobrane" mkdir "D:\Pobrane" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "{374DE290-123F-4565-9164-39C4925E467B}" /t REG_SZ /d "D:\Pobrane" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{374DE290-123F-4565-9164-39C4925E467B}" /t REG_EXPAND_SZ /d "D:\Pobrane" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{7D83EE9B-2244-4E70-B1F5-5393042AF1E4}" /t REG_EXPAND_SZ /d "D:\Pobrane" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\Pobrane" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Kontakty
- echo D:\%user%\Kontakty
- if not exist "D:\%user%\Kontakty" mkdir "D:\%user%\Kontakty" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "{56784854-C6CB-462B-8169-88E350ACB882}" /t REG_SZ /d "D:\%user%\Kontakty" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{56784854-C6CB-462B-8169-88E350ACB882}" /t REG_EXPAND_SZ /d "D:\%user%\Kontakty" /f | "%~dp0log" /fifo %~nx0: 2>nul | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Kontakty" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- rem call "%~dp0log" %~nx0: D:\%user%\Pulpit
- rem echo D:\%user%\Pulpit
- rem if not exist "D:\%user%\Pulpit" mkdir "D:\%user%\Pulpit" | "%~dp0log" /fifo %~nx0: 2>nul
- rem reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Desktop" /t REG_SZ /d "D:\%user%\Pulpit" /f | "%~dp0log" /fifo %~nx0: 2>nul
- rem reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Desktop" /t REG_EXPAND_SZ /d "D:\%user%\Pulpit" /f | "%~dp0log" /fifo %~nx0: 2>nul
- rem attrib +r -s -h "D:\%user%\Pulpit" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Dokumenty
- echo D:\%user%\Dokumenty
- if not exist "D:\%user%\Dokumenty" mkdir "D:\%user%\Dokumenty" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal" /t REG_SZ /d "D:\%user%\Dokumenty" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{f42ee2d3-909f-4907-8871-4c22fc0bf756}" /t REG_EXPAND_SZ /d "D:\%user%\Dokumenty" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Personal" /t REG_EXPAND_SZ /d "D:\%user%\Dokumenty" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Dokumenty" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Ulubione
- echo D:\%user%\Ulubione
- if not exist "D:\%user%\Linki" mkdir "D:\%user%\Ulubione" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Favorites" /t REG_SZ /d "D:\%user%\Ulubione" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Favorites" /t REG_EXPAND_SZ /d "D:\%user%\Ulubione" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Ulubione" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Linki
- echo D:\%user%\Linki
- if not exist "D:\%user%\Linki" mkdir "D:\%user%\Linki" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}" /t REG_SZ /d "D:\%user%\Linki" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}" /t REG_EXPAND_SZ /d "D:\%user%\Linki" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Linki" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Muzyka
- echo D:\%user%\Muzyka
- if not exist "D:\%user%\Muzyka" mkdir "D:\%user%\Muzyka" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Music" /t REG_SZ /d "D:\%user%\Muzyka" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{A0C69A99-21C8-4671-8703-7934162FCF1D}" /t REG_EXPAND_SZ /d "D:\%user%\Muzyka" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Music" /t REG_EXPAND_SZ /d "D:\%user%\Muzyka" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Muzyka" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Grafika
- echo D:\%user%\Grafika
- if not exist "D:\%user%\Muzyka" mkdir "D:\%user%\Muzyka" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Pictures" /t REG_SZ /d "D:\%user%\Grafika" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{0DDD015D-B06C-45D5-8C4C-F59713854639}" /t REG_EXPAND_SZ /d "D:\%user%\Grafika" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Pictures" /t REG_EXPAND_SZ /d "D:\%user%\Grafika" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Grafika" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Zapisane\Gry
- echo D:\%user%\Zapisane\Gry
- if not exist "D:\%user%\Zapisane\Gry" mkdir "D:\%user%\Zapisane\Gry" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}" /t REG_SZ /d "D:\%user%\Zapisane\Gry" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}" /t REG_EXPAND_SZ /d "D:\%user%\Zapisane\Gry" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Zapisane\Gry" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Poszukiwania
- echo D:\%user%\Poszukiwania
- if not exist "D:\%user%\Poszukiwania" mkdir "D:\%user%\Poszukiwania" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}" /t REG_SZ /d "D:\%user%\Poszukiwania" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}" /t REG_EXPAND_SZ /d "D:\%user%\Poszukiwania" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Poszukiwania" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- call "%~dp0log" %~nx0: D:\%user%\Video
- echo D:\%user%\Video
- if not exist "D:\%user%\Video" mkdir "D:\%user%\Video" | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "My Video" /t REG_SZ /d "D:\%user%\Video" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{35286A68-3C57-41A1-BBB1-0EAE73D76C95}" /t REG_EXPAND_SZ /d "D:\%user%\Video" /f | "%~dp0log" /fifo %~nx0: 2>nul
- reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "My Video" /t REG_EXPAND_SZ /d "D:\%user%\Video" /f | "%~dp0log" /fifo %~nx0: 2>nul
- attrib +r -s -h "D:\%user%\Video" /S /D | "%~dp0log" /fifo %~nx0: 2>nul
- timeout /t 1 /nobreak >nul
- start C:\Windows\explorer.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement