cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Programmatically determine buildcode associated with .proi

gleonard
1-Newbie

Programmatically determine buildcode associated with .proi

Pro/INTRALINK Admins,

Is there a way to programmatically determine the buildcode associated with .proi folder, say with a batch file? When we cutover to M061, I'm thinking of maybe having a batch file that identifies any existing M030 .proi's and renames them before the system creates a new M061 .proi. Anyone else done this?

Thanks,
--
George Leonard,
Space Systems/Loral
T:650-852-5215
F:650-852-7170

3 REPLIES 3

Why not just use the modification date of the .proi folder?
Or better yet, the date on the .proi\Local.ddb file?
If it's older than your deployment date for M061, then rename it.

Sure ... anything is possible if you try : )

Here is a little snipit out of the batch file I created a few month ago, it compares the date code on the sever with te date code on the local machine.if the date codes don't match I prompt the user to enter their password and the latest date code will then be installed that night in a scheduled task... basically antother batch file that gets kicked off at 11:30 pm.

In that batch file I am sure you can rename the .proi folder. I'm not exactly sure what the dos command would be but it can be done! Heres a link to a dos help page

http://www.computerhope.com/jargon/i/intecomm.htmexperiement around,create a directory and follow the examples on this site when you have the technique down, add it to a simple batch file and make sure it still works. It may take a few tries but you'll figure it out.

Dave

Thanks Gerry and Dave,

Looks like keying off the date is the way to go.

Thanks again,

G.

--
George Leonard,
Space Systems/Loral
T:650-852-5215
F:650-852-7170



Dave McClinton wrote:
>
> Sure ... anything is possible if you try : )
>
> Here is a little snipit out of the batch file I created a few month
> ago, it compares the date code on the sever with te date code on the
> local machine. if the date codes don't match I prompt the user to
> enter their password and the latest date code will then be installed
> that night in a scheduled task... basically antother batch file that
> gets kicked off at 11:30 pm.
>
> In that batch file I am sure you can rename the .proi folder. I'm not
> exactly sure what the dos command would be but it can be done! Heres
> a link to a dos help page
>
>
Top Tags