Skip to Content
avatar image
Former Member

Can I add conditional statement in syc file in powerbuildet ?

my application calls autoupdate.exe file that uses autoupdate.ini file to invoke a syc file which has bunch of ftp commands. This syc file copies .dll, .pbd , .exe etc from ftp server to local at C:\program files\application folder.

I want to write a conditional statement inside syc file like below.

If exists ( C:\program files x(86) \application_folder)

then copy all dll, pbd, pbg, bmp files in program files x86 folder

Else

copy all dll , pbd , pbg files in program files

How to add this condition in syc file

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers