if %errorlevel% neq 0 exit /b %errorlevel%\r
\r
call :msg "hidden system directory"\r
-echo 1 > subdir\r
+md subdir\r
attrib +h +s subdir\r
call :do_test\r
if %errorlevel% neq 0 exit /b %errorlevel%\r
\r
call :msg "hidden, readonly, system directory"\r
-echo 1 > subdir\r
+md subdir\r
attrib +h +r +s subdir\r
call :do_test\r
if %errorlevel% neq 0 exit /b %errorlevel%\r
call :msg "unencrypted file in encrypted directory in compressed directory"\r
md 1\r
md 1\2\r
-compact /c 1 > /nul\r
-cipher /e 1\2 > /nul\r
+compact /c 1 > nul\r
+cipher /e 1\2 > nul\r
echo hello > 1\2\file\r
-cipher /d 1\2\file > /nul\r
+cipher /d 1\2\file > nul\r
call :do_test\r
if %errorlevel% neq 0 exit /b %errorlevel%\r
\r