.
This commit is contained in:
parent
b8e94d7a1e
commit
b7cf3825b5
@ -297,6 +297,9 @@ rem ... remove stupid public folders
|
||||
call cleanup-publicdir.cmd
|
||||
echo.
|
||||
|
||||
rem ... remove the drive letter of partition 2 on boot drive
|
||||
call remove-drive-letter.cmd
|
||||
|
||||
echo add read access rights to all users on public icons ...
|
||||
icacls %PUBLIC%\Desktop\*.lnk /grant Users:R
|
||||
echo.
|
||||
|
@ -1,16 +1,10 @@
|
||||
@echo off
|
||||
set T=c:\TEMP
|
||||
set T=%SystemDrive%\TEMP
|
||||
set DPARTSCRIPT=%T%\diskpart.txt
|
||||
|
||||
rem create temp directory ...
|
||||
mkdir %T% 1>nul 2>nul
|
||||
echo ####### %0 #######
|
||||
|
||||
rem =====
|
||||
rem MAIN
|
||||
rem =====
|
||||
|
||||
echo Removing Drive Letter ...
|
||||
echo.
|
||||
echo Removing drive letter ...
|
||||
|
||||
> %DPARTSCRIPT% (
|
||||
@echo.select disk 0
|
||||
@ -31,8 +25,5 @@ echo Drive letter removed.
|
||||
rem cleanup ...
|
||||
del /F %DPARTSCRIPT% 1>nul 2>nul
|
||||
|
||||
echo.
|
||||
echo ======
|
||||
echo READY.
|
||||
echo ======
|
||||
echo ####### %0 #######
|
||||
|
Loading…
Reference in New Issue
Block a user