It is currently Wed Jun 19, 2013 10:14 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject:
PostPosted: Fri May 16, 2008 11:47 pm 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2226
Location: Western NY, USA
This may help users find the locations of most of their WW skins.

Skins.cmd
Code:
@title Weather Watcher Skins locations
@echo off

rem To find the forecast folder in use add "\current.html /s" to the end of the Forecasts dir commands
rem then review the file's creation dates.

:: (the line below has a [TAB] and two [SPACE] following delims=)
for /f "tokens=3* delims=     " %%i in ('reg query
 "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Weather Watcher_is1" /v InstallLocation')
 do (
   set WWInstall=%%~si)
if "%WWInstall%"=="C:\PROGRA~1\WEATHE~1\" (
   set WWInstall=%ProgramFiles%\Weather Watcher)

if exist "%WWInstall%"\Skins\*. (
   dir   "%WWInstall%"\Skins\Forecasts
   dir   "%WWInstall%"\Skins\Interface
   echo.)

if exist "%WWInstall%"\Users\Default\Skins\*. (
   dir   "%WWInstall%"\Users\Default\Skins\Forecasts
   dir   "%WWInstall%"\Users\Default\Skins\Interface
   echo.)
if exist "%WWInstall%"\Users\%userName%\Skins\*. (
   dir   "%WWInstall%"\Users\%UserName%\Skins\Forecasts
   dir   "%WWInstall%"\Users\%UserName%\Skins\Interface
   echo.)
if exist "%UserProfile%\Application Data"\WeatherWatcher\Skins\*. (
   dir   "%UserProfile%\Application Data"\WeatherWatcher\Skins\Forecasts
   dir   "%UserProfile%\Application Data"\WeatherWatcher\Skins\Interface
   echo.)
if exist "%UserProfile%"\AppData\Roaming\WeatherWatcher\Skins\*. (
   dir   "%UserProfile%"\AppData\Roaming\WeatherWatcher\Skins\Forecasts
   dir   "%UserProfile%"\AppData\Roaming\WeatherWatcher\Skins\Interface
   echo.)

pause > nul


Unfortunately it doesn't handle multiple user profile systems, only the skins for the user who is signed on.

I believe there may be a way to also denote which folder WW is set to use but that will require a little digging on my part.

-Update-

There is no Registry entry pointing to the active Skins folder.


Last edited by Ed_P on Sun May 18, 2008 3:53 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat May 17, 2008 12:01 am 

Joined: Mon Apr 28, 2008 6:30 pm
Posts: 19
Thank you very much EdP. I copied as you directed and new skins are now available in options.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 17, 2008 1:23 am 
Senior Member
User avatar

Joined: Sat Aug 07, 2004 12:24 pm
Posts: 2226
Location: Western NY, USA
:thumbright: Happy to hear you were successful. :icon_smile:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group