2010-05-21 06:02:08 +02:00
|
|
|
icacls data /grant:r %USERNAME%:F /T
|
|
|
|
rd /s /q data
|
|
|
|
mkdir data
|
|
|
|
|
|
|
|
echo '' > data/file
|
|
|
|
mkdir data\dir
|
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo > data/file_access_denied
|
2010-05-21 06:02:08 +02:00
|
|
|
icacls data\file_access_denied /deny %USERNAME%:F
|
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo > data/file_read_only
|
|
|
|
icacls data\file_read_only /deny %USERNAME%:W
|
2010-05-21 06:02:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
mkdir data\dir_access_denied
|
|
|
|
icacls data\dir_access_denied /deny %USERNAME%:F
|
|
|
|
|
|
|
|
mkdir data\dir_read_only
|
2010-05-23 22:06:47 +02:00
|
|
|
icacls data\dir_read_only /deny %USERNAME%:W
|
2010-05-21 06:02:08 +02:00
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo {"Valid" : []} > data/mru_ok.json
|
2010-05-21 06:02:08 +02:00
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo {"Invalid" : [1 3]} > data/mru_invalid.json
|
2010-05-21 06:02:08 +02:00
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo > data/rename_me
|
2010-05-21 06:02:08 +02:00
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo > data/rename_me_overwrite
|
|
|
|
echo > data/rename_me_overwrite_renamed
|
2010-05-21 06:02:08 +02:00
|
|
|
|
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo {"String" : "This is a test"} > data/option_string.json
|
|
|
|
echo {"Integer" : 1} > data/option_integer.json
|
|
|
|
echo {"Double" : 2.1} > data/option_double.json
|
|
|
|
echo {"Bool" : true} > data/option_bool.json
|
|
|
|
echo {"Null" : null} > data/option_null.json
|
2010-05-21 06:02:08 +02:00
|
|
|
|
2010-05-23 22:06:47 +02:00
|
|
|
echo {"String" : [{"string" : "This is a test"}, {"string" : "This is a test"}]} > data/option_array_string
|
|
|
|
echo {"Integer" : [{"int" : 1}, {"int" : 1}]} > data/option_array_integer
|
|
|
|
echo {"Double" : [{"double" : 2.1}, {"double" : 2.1}]} > data/option_array_double
|
|
|
|
echo {"Bool" : [{"bool" : true}, {"bool" : true}]} > data/option_array_bool
|