PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Principle
  • Generating executables automatically
  • Creating the main library of the application automatically
  • Generating a component from a project automatically:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 16, the creation of batch processes is kept for backward compatibility.
We recommend that you use the software factory to automate the process for creating applications. See Software Factory for more details.
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to perform several types of processes in command line.
You can:
  • Compile and generate the executable (EXE) associated with one or more projects.
  • Create the library (WDL) associated with one or more projects.
  • Generate the components (WDK) associated with one or more projects.
WEBDEV - Server code The generation of executables is not available.
Note: You also have the ability to perform multi-project batch processes. In this case, you have the ability to configure the different operations performed during the compilation or when creating the executable. See Multi-project batch processes for more details.
How to proceed?

Principle

All you have to do is create a text file containing the full path of the projects corresponding to the action to perform. This text file has the following format:
C:\My Projects\My Sales Management\Customer\Customer.WDP
C:\My Projects\My compatibility\Compatibility.WDP
Then, specify via a command line the action to perform on the projects referenced in this file (see the following paragraphs for more details).
WINDEVWINDEV Mobile

Generating executables automatically

To automatically generate the executables:
  1. Create the Text file containing the path of the projects for which the executables must be created.
  2. Run the following command line:
    • WINDEV For WINDEV:
      WINDEV23.EXE /CREEATEXE=<Path of Text file>
      For example: WINDEV23.EXE /CREATEEXE="C:\Temp\Test.txt"
    • WINDEV Mobile For WINDEV Mobile:
      WINDEV23Mobile.EXE /CREATEEXE=<Path of Text file>
  3. The corresponding editor is automatically started. Each project specified in the text file is opened and compiled, then the executable is created with all the options selected by default (or with the options selected during the last creation of the executable for this project.). The editor automatically closed once the executable is generated.
See Creating an executable for more details.

Creating the main library of the application automatically

To automatically create the main library of the application:
  1. Create the Text file containing the path of the projects for which the library must be created.
  2. Run the following command line:
    • WINDEV In WINDEV:
      WINDEV23.EXE /CREATEWDL=<Path of Text file>
      For example: WINDEV23.EXE /CREATEWDL="C:\Temp\Test.txt"
    • WINDEV Mobile In WINDEV Mobile:
      WINDEV23Mobile.EXE /CREATEWDL=<Path of Text file>
    • WEBDEV - Server code In WEBDEV:
      WEBDEV23.EXE /CREATEWDL=<Path of Text File>
  3. The corresponding editor is automatically started. Each project specified in the text file is opened and compiled, then the main library is created with all the options selected by default (or with the options selected during the last creation of the library for this project.). The editor is automatically closed once the library is created.
See Library: Definition for more details.

Generating a component from a project automatically:

To automatically generate a component from a project:
  1. Create the Text file containing the path of the projects for which the associated component must be created. If the project is associated with several components, only the first component will be generated.
  2. Run the following command line:
    • WINDEV In WINDEV:
      WINDEV23.EXE /CREATEWDK=<Path of Text file>
      For example: WINDEV23.EXE /CREATEWDK="C:\Temp\Test.txt"
    • WINDEV Mobile In WINDEV Mobile:
      WINDEV23Mobile.EXE /CREATEWDK=<Path of Text file>
    • WEBDEV - Server code In WEBDEV:
      WEBDEV23.EXE /CREATEWDK=<Path of Text file>
  3. The editor is automatically started. Each project specified in the text file is opened and compiled, then the first component found associated with the project is generated with all the options selected by default (or with the options selected during the last generation of the component for this project). The editor is automatically closed once the component is generated.
See Creating a component for more details.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment