Hello everybody,

I'm facing a basic script problem to change directory in a script.

What I wanna do is to locate in the user's profile Mozilla directory, knowing that the user's profile name is a random directory like gkdjflkj.default
I tried the following but it doesn't work, the script is located in "%APPDATA%\Mozilla\Firefox\Profiles but not in "%APPDATA%\Mozilla\Firefox\Profiles\UserName.default

 Code:
cd "%APPDATA%\Mozilla\Firefox\Profiles" 
cd "*.default"
SHELL "%COMSPEC% /c DIR" 


Thanks for the answer.


Edited by yellowdog (2014-01-13 01:44 PM)