Afin.Shell |
|
AfinScript © AFIN 2016 |
|
|
|
|
|
|
|
|
|
Start: [F5] or [Ctrl+Q] |
|
<<<
Parameters |
|
Info: 5 columns (A:E = 'COCPI..T') from the #11 row
are reserved for the AfinScript's program. |
|
|
|
|
|
|
|
|
e.g.
Path = |
C:\AnyPath |
|
|
|
|
e.g.
Database = |
|
|
|
|
|
e.g.
Period = |
|
|
|
|
|
(…) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class
(Vendor) |
Object |
Command |
Parameters |
Info |
The rest: Comments, calculations, row parameters |
|
|
|
|
|
|
|
Afin.Shell
commands |
|
|
|
. |
|
|
|
|
|
|
|
|
. |
|
|
|
. |
|
|
|
|
|
|
|
|
Afin.Shell |
|
Info |
|
OK, but it stops the program. |
|
|
|
|
|
|
|
|
Afin.Shell |
|
copy c:\test\Test.txt
c:\test\Test2.txt |
Mode=1 |
. |
Mode=1 - using Windows
Shell SYNCHORICALLY! Default. |
|
|
|
|
|
Afin.Shell |
|
copy c:\test\Test.txt
c:\test\Test2.txt |
Mode=2 |
. |
Mode=2 - using Windows
Shell SYNCHORICALLY! Causes raising a temporal CMD window. |
|
|
Afin.Shell |
|
copy c:\test\database.mdb
c:\test\database-11.00.46.mdb |
Mode=0 |
. |
Mode=0 - using standard
Shell function, ASYNCHRONICALLY, sometimes requires time for finalling
action, quiet. |
Afin.Shell |
|
del C:\AnyPath\Faktury*.xls |
|
. |
|
|
|
|
|
|
|
|
Afin.Shell |
|
del
C:\AnyPath\Testy\Sprzedaz2015_testy.xls |
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|