Re: Login to CC from a script

‏2012-12-14T21:36:36Z

This is the accepted answer.
This is the accepted answer.

yes, you are overthinking. The thick client authenticases via the OS. So just the fact that you are able to logon to the box where the thick client is installed give you access.
Just stick cleartool commands into your script and it works.

Now you are saying windows and batch script. What do you plan to schedule this with? The user the batch runs under is the user that CC will run under. I do remember using some sort of sudo at some point, but the memory is fuzzy.
In any case, the batch process may or may not see the mapped drives you see when you logon interactively. You will have to run a few tests there. It all depends on win flavor and corporate settings and what I did was a loooong time ago, in a world less security conscious (or is that crazy).

Re: Login to CC from a script

‏2012-12-19T14:54:07Z

This is the accepted answer.
This is the accepted answer.

Thanks for the information Martina.

I was trying to setup a batch script to run from the task scheduler periodically on a server to copy files & folders from a particular View to another location on the network so that people who did not have and did not want to get access to CC could see the latest. It turned out to be easy. I was surprised and confused why it works since the ID running the scheduled task is not the owner of that View.