Hi webazubi,
(I've moved this to the "ThumbsPlus v8 or earlier" section because as far as I know, v7 sp2 is the last version that would work with TPCMD.EXE)
> I search for a variabe for Gallery, because I want to start a batch file from a gallery that produce a webpage.
I don't know about such a variable. In .TDO-files, galleries are refered to by "/G". Could that be what you need? For example:
Folder_000=E:\Foto
Folder_001=/GHolidays
Folder_002=/G(Tagged Images)
> tpcmd WebPages(mypage;%AKTPFAD%\%Ordner%;%AKTPFAD%;0;WAIT)
(just curious: how did you know about the WebPages command? It's not officially documented anywhere that I know of!)
> Can someone help me?
I can't really, but I did find a fascinating comment in the old Usenet groups. Someone posted this bug report in 2004:
"I have found that if you have T+ open at a specific gallery, and then run tpcmd asking the webwizard to create pages based on that same gallery, nothing is created. You have to have T+ pointing at another gallery or folder before you run tpcmd and then it works....
This also of course fails if you have shut T+ whilst pointing at the specific gallery and T+ has saved the last browsed folder in the ini file"
Could that explain why it hasn't worked for you? There were no responses to this message and I found no further references about accessing galleries from TPCMD.