I have moved some pages from 1 application to another but when exporting application through the application itself. Then some component is not working of the application.
So can you provide an alternative way to export application through command prompt same like importing application?
 
You can use Java to export an application.  The steps are:
- Set your ORACLE_HOME
- add standard JDK to your PATH
- add jdbc driver and XXX\utilities to your classpath where "XXX" is where Apex is installed
- run the export
eg
C:\temp>set ORACLE_HOME=C:\oracle\product\12.2.0.1
C:\temp>set PATH=%PATH%;C:\Program Files\Java\jdk1.8.0_121\bin
C:\temp>set CLASSPATH=c:\oracle\sqldeveloper\jdbc\lib\ojdbc8.jar;C:\oracle\product\apex\utilities
C:\temp>java oracle.apex.APEXExport  -db localhost:1521:db122 -user asktom -password *****  -applicationid 100
Exporting application 100
  Completed at Tue Jan 09 08:38:27 AWST 2018
C:\temp>dir f100.sql
 Volume in drive C is OS
 Volume Serial Number is 9CB0-0212
 Directory of C:\temp
09/01/2018  08:38 AM         4,905,200 f100.sql
               1 File(s)      4,905,200 bytes
               0 Dir(s)  106,429,452,288 bytes free