@echo off setlocal EnableExtensions set "TARGET=C:\cryptosample" echo Generating default EFS sample files echo Target folder: %TARGET% if not exist "%TARGET%" mkdir "%TARGET%" if not exist "%TARGET%\docs" mkdir "%TARGET%\docs" if not exist "%TARGET%\nested\level1" mkdir "%TARGET%\nested\level1" if not exist "%TARGET%\binary" mkdir "%TARGET%\binary" > "%TARGET%\readme-sample.txt" echo EFS sample file set >> "%TARGET%\readme-sample.txt" echo Generated: %DATE% %TIME% >> "%TARGET%\readme-sample.txt" echo Computer: %COMPUTERNAME% >> "%TARGET%\readme-sample.txt" echo User: %USERNAME% >> "%TARGET%\readme-sample.txt" echo Purpose: controlled EFS validation under C:\cryptosample only > "%TARGET%\docs\sample-notes.txt" echo This is a disposable plaintext document. >> "%TARGET%\docs\sample-notes.txt" echo After the EFS tool runs, cipher /C should show this file as encrypted. > "%TARGET%\nested\level1\nested-file.txt" echo Nested disposable EFS validation file generated at %DATE% %TIME% > "%TARGET%\csv-sample.csv" echo id,name,purpose >> "%TARGET%\csv-sample.csv" echo 1,alpha,EFS validation >> "%TARGET%\csv-sample.csv" echo 2,beta,backup validation >> "%TARGET%\csv-sample.csv" echo 3,gamma,recovery validation certutil -f -generateSSTFromWU "%TARGET%\binary\sample-cert-store.sst" >nul 2>nul if errorlevel 1 ( > "%TARGET%\binary\random-placeholder.bin" echo Binary placeholder file for EFS validation ) echo. echo Done. Created disposable sample files under %TARGET% echo Next: run the EFS controlled runner from the Railway /download page.