Pregunta

Can anyone help me with a (simple as possible) batch file I can unleash on a users profile to search for PST files. I would need to see the location of any PST files that were found.

Thanks all

¿Fue útil?

Solución

About as simple as it gets :)

dir C:\*.pst /s /b

Otros consejos

Variable %USERPROFILE% gives the profile directory of currently logged in user. You can use the DIR command to list all the *.PST files recursively under that. The simplest script would be

ECHO using directory %USERPROFILE%

DIR /B /P /S %USERPROFILE%\*.PST

You can change the switches of DIR command to format the output.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top