I did this mostly to learn more about Batch files, but also because I wanted to feel like a 1337 hacker. There's basically one line of code that you can run from the root folder (like C:\), but I just wrote it to be a bit more user friendly by adding a menu that will take you straight to that folder.
The "lite version" is basically just the command; it's fairly easy to remember: 'find string simb hidden dot picasa dot INI' is how I would. /S searches in subdirectories of the current folder; /M prints the filename instead of the line, so it's essential; /I tells it the search is not case sensitive; and /B returns files only if "hidden" is at the beginning of a line.
findstr /S /I /M /B "hidden" .picasa.ini
@echo off echo %%%%%%%%%%%%%%Picasa Hidden Folder Finder%%%%%%%%%%%%%% REM Extremely short simple version is 'findstr /S /I /M /B "hidden" .picasa.ini' from the root folder. echo. set drive=%cd:~0,3% echo Scanning %drive%..... echo. set i=1 cd %drive% SETLOCAL ENABLEDELAYEDEXPANSION for /F "delims=" %%a in ('findstr /S /I /M /B "hidden" .picasa.ini') do ( set __INIFILE.!i!=%%a echo !i!. %drive%%%a set /a i+=1 ) IF %i%==1 (goto NoFiles) echo S. SAVE echo Q. QUIT :DOUNTIL set /p ChooseFile=Choose a file: IF %ChooseFile%==Q (exit) IF %ChooseFile%==q (exit) IF %ChooseFile%==s (goto Save) if %ChooseFile%==S (goto Save) SETLOCAL ENABLEDELAYEDEXPANSION FOR /F "tokens=2* delims=.=" %%A IN ('SET __INIFILE.') DO ( IF %%A==%ChooseFile% ( set var=%drive%%%B set var=!var:Picasa.ini=! echo Opening !var! %SystemRoot%\explorer.exe "!var!" goto DOUNTIL ) ) echo That is not a valid selection. goto DOUNTIL :Save FOR /F "tokens=2* delims=.=" %%A IN ('SET __INIFILE.') DO ( echo %drive%%%B >> %~dp0PHFF.txt ) echo Saved to %~dp0PHFF.txt goto DOUNTIL :NoFiles echo. echo No hidden Picasa albums were found on %drive% echo. pause
So yeah. I'm not really well-versed in Batch files. The loops confounded me for ages, and I still don't fully understand them.
Anyway, do with it what you may.