Code: Select all
setting "ShowHiddenItems", 0;
$file = quicksearch("/l=1 /f", "%APPDATA%");
goto $file;
msg "Notice the hidden folder can't be accessed";
settingp "ShowHiddenItems", 1;
goto $file;
msg "Now file is correctly found";
Code: Select all
setting "ShowHiddenItems", 0;
$file = quicksearch("/l=1 /f", "%APPDATA%");
goto $file;
msg "Notice the hidden folder can't be accessed";
settingp "ShowHiddenItems", 1;
goto $file;
msg "Now file is correctly found";