From 110fc5dee14fc7988f631a158e50d283446aba7a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:24:09 +0200 Subject: 5.15 --- BUILD/Help/html/Macros.html | 86 ++++++++++++++++++--------------------------- 1 file changed, 35 insertions(+), 51 deletions(-) (limited to 'BUILD/Help/html/Macros.html') diff --git a/BUILD/Help/html/Macros.html b/BUILD/Help/html/Macros.html index 1716f43c..c93b2373 100644 --- a/BUILD/Help/html/Macros.html +++ b/BUILD/Help/html/Macros.html @@ -3,26 +3,25 @@ - + - + - +

Macros

All directory names may contain macros that are expanded during @@ -36,27 +35,29 @@ also be used.

Internal macros:

-

- %date%      - - format [YYYY-MM-DD], e. g. "2012-12-22"
%time%      - - format [hhmmss], e. g. "123044"
%timestamp% - - format [YYYY-MM-DD hhmmss], e. g. "2012-12-22 - 123044"

%year%      - - e. g. "2012"
%month%     - - e. g. "12"
%day%       - - e. g. "22"

%hour%      - - e. g. "12"
%min%       - - e. g. "30"
%sec%       - - e. g. "44"

%weekday%   - - day of the week, e. g. "Monday"
%week%      - - calendar week, e. g. "28"

+

%date%       + e. g. 2012-12-22        format + [YYYY-MM-DD]
%time%       + e. g. 123044            format + [hhmmss]
%timestamp%  + e. g. 2012-12-22 + 123044 format [YYYY-MM-DD hhmmss]

%year%       + e. g. 2012
%month%      + e. g. 12
%day%        + e. g. 22

%hour%       + e. g. 12
%min%        + e. g. 30
%sec%        + e. g. 44

%weekday%    + e. g. Monday day + of the week
%week%       + e. g. 28     calendar + week



Environment variables: (Windows)

-

- %AllUsersProfile%   e. +

%AllUsersProfile%   e. g. C:\ProgramData
%AppData%           
e. g. C:\Users\<username>\AppData\Roaming
%ComputerName%      
e. g. Zenju-PC
%LocalAppData%      
e. @@ -77,10 +78,9 @@ variables: (Windows)

Special folder locations (Windows)

-

- %csidl_Desktop%     e. - g. C:\Users\<username>\Desktop
%csidl_D
ownloads%   e. - g. C:\Users\<username>\Downloads
%csidl_Favorites%   
e. +

%csidl_Desktop%     e. + g. C:\Users\<username>\Desktop
%csidl_Downloads%   
e. + g. C:\Users\<username>\Downloads
%csidl_Favorites%   
e. g. C:\Users\<username>\Favorites
%csidl_MyDocuments% 
e. g. C:\Users\<username>\Documents
%csidl_MyMusic%     
e. g. C:\Users\<username>\Music
%csidl_MyPictures%  
e. @@ -89,9 +89,9 @@ folder locations (Windows)
C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Network Shortcuts
%csidl_Programs%    
e. g. C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start - Menu\Programs
%csidl_
Quicklaunche. - g. C:\Users\<username>\AppData\Roaming\Microsoft\Internet - Explorer\Quick Launch
%csidl_Resources%   
e. + Menu\Programs
%csidl_Quicklaunch% 
e. g. + C:\Users\<username>\AppData\Roaming\Microsoft\Internet + Explorer\Quick Launch
%csidl_Resources%   
e. g. C:\Windows\Resources
%csidl_StartMenu%   
e. g. C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu
%csidl_Startup%     
e. g. @@ -105,19 +105,7 @@ E.g. csidl_MyMusic


-

Example:

-

-

-

-

-


-

+

Hint:

You can add a great amount of flexibility to batch synchronization @@ -131,8 +119,7 @@ The FreeFileSync batch file C:\SyncJob.ffs_b instead of an absolute target folder and is invoked by a *.cmd file:

-

- set +

set MyVar=C:\Target
"C:\Program files\FreeFileSync\FreeFileSync.exe" C:\SyncJob.ffs_batch
::%MyVar% @@ -141,10 +128,8 @@ file:


-

    -

    - Note
    Temporary +

    Note
    Temporary environment variables created with the "set" command are only valid if the batch job is started by calling the executable directly! Using "start @@ -152,6 +137,5 @@ file:

    program context without these temporal variables.


    -
\ No newline at end of file -- cgit