diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:24:09 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:24:09 +0200 |
commit | 110fc5dee14fc7988f631a158e50d283446aba7a (patch) | |
tree | 7c19dfd3bdb8c4636409ec80a38c70499ac006db /BUILD/Help/html/Macros.html | |
parent | 5.14 (diff) | |
download | FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.gz FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.bz2 FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.zip |
5.15
Diffstat (limited to 'BUILD/Help/html/Macros.html')
-rw-r--r-- | BUILD/Help/html/Macros.html | 86 |
1 files changed, 35 insertions, 51 deletions
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 @@ <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> <TITLE></TITLE> - <META NAME="GENERATOR" CONTENT="LibreOffice 4.0.1.2 (Windows)"> + <META NAME="GENERATOR" CONTENT="LibreOffice 4.0.2.2 (Windows)"> <META NAME="CREATED" CONTENT="20091206;16574000"> - <META NAME="CHANGED" CONTENT="20130330;15403796"> + <META NAME="CHANGED" CONTENT="20130418;21351827"> <META NAME="Info 1" CONTENT=""> <META NAME="Info 2" CONTENT=""> <META NAME="Info 3" CONTENT=""> <META NAME="Info 4" CONTENT=""> <STYLE TYPE="text/css"> <!-- - @page { size: 21cm 29.7cm; margin: 2cm } + @page { margin: 2cm } P { margin-bottom: 0.21cm } - H2 { margin-bottom: 0.21cm; page-break-after: avoid } - H2.western { font-family: "Times New Roman", serif; font-size: 18pt; font-weight: bold } - H2.cjk { font-family: "SimSun"; font-size: 18pt; font-weight: bold } - H2.ctl { font-family: "Mangal"; font-size: 18pt; font-weight: bold } - A:link { color: #000080; so-language: zxx; text-decoration: underline } + H2 { margin-bottom: 0.21cm } + H2.western { font-family: "Times New Roman", serif } + H2.cjk { font-family: "SimSun" } + H2.ctl { font-family: "Mangal" } --> </STYLE> </HEAD> -<BODY LANG="de-DE" LINK="#000080" VLINK="#800000" DIR="LTR"> +<BODY LANG="de-DE" DIR="LTR"> <H2 CLASS="western"><FONT FACE="Tahoma, sans-serif"><FONT SIZE=4 STYLE="font-size: 15pt">Macros</FONT></FONT></H2> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">All directory names may contain macros that are expanded during @@ -36,27 +35,29 @@ also be used.</FONT></P> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Internal macros:</B></FONT></P> <P STYLE="margin-left: 1.32cm; margin-bottom: 0cm"><SPAN ID="Rahmen2" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> - <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> - <FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%date% - - </FONT>format [YYYY-MM-DD], e. g. "<FONT FACE="Courier New, monospace">2012-12-22</FONT>"<BR><FONT FACE="Courier New, monospace">%time% - - </FONT>format [hhmmss], e. g. "<FONT FACE="Courier New, monospace">123044</FONT>"<BR><FONT FACE="Courier New, monospace">%timestamp% - - </FONT>format [YYYY-MM-DD hhmmss], e. g. "<FONT FACE="Courier New, monospace">2012-12-22 - 123044</FONT>"<BR><BR><FONT FACE="Courier New, monospace">%year% - - </FONT>e. g. "<FONT FACE="Courier New, monospace">2012</FONT>"<BR><FONT FACE="Courier New, monospace">%month% - - </FONT>e. g. "<FONT FACE="Courier New, monospace">12</FONT>"<BR><FONT FACE="Courier New, monospace">%day% - - </FONT>e. g. "<FONT FACE="Courier New, monospace">22</FONT>"<BR><BR><FONT FACE="Courier New, monospace">%hour% - - </FONT>e. g. "<FONT FACE="Courier New, monospace">12</FONT>"<BR><FONT FACE="Courier New, monospace">%min% - - </FONT>e. g. "<FONT FACE="Courier New, monospace">30</FONT>"<BR><FONT FACE="Courier New, monospace">%sec% - - </FONT>e. g. "<FONT FACE="Courier New, monospace">44</FONT>"<BR><BR><FONT FACE="Courier New, monospace">%weekday% - - </FONT>day of the week, e. g. "<FONT FACE="Courier New, monospace">Monday</FONT>"<BR><FONT FACE="Courier New, monospace">%week% - - </FONT>calendar week, e. g. "<FONT FACE="Courier New, monospace">28</FONT>"</FONT></P> + <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%date% + </FONT>e. g. <FONT FACE="Courier New, monospace">2012-12-22 </FONT>format + [YYYY-MM-DD] <BR><FONT FACE="Courier New, monospace">%time% + </FONT>e. g. <FONT FACE="Courier New, monospace">123044 </FONT>format + [hhmmss] <BR><FONT FACE="Courier New, monospace">%timestamp% + </FONT>e. g. <FONT FACE="Courier New, monospace">2012-12-22 + 123044 </FONT>format [YYYY-MM-DD hhmmss] <BR><BR><FONT FACE="Courier New, monospace">%year% + </FONT>e. g. <FONT FACE="Courier New, monospace">2012</FONT><BR><FONT FACE="Courier New, monospace">%month% + </FONT>e. g. <FONT FACE="Courier New, monospace">12</FONT><BR><FONT FACE="Courier New, monospace">%day% + </FONT>e. g. <FONT FACE="Courier New, monospace">22</FONT><BR><BR><FONT FACE="Courier New, monospace">%hour% + </FONT>e. g. <FONT FACE="Courier New, monospace">12</FONT><BR><FONT FACE="Courier New, monospace">%min% + </FONT>e. g. <FONT FACE="Courier New, monospace">30</FONT><BR><FONT FACE="Courier New, monospace">%sec% + </FONT>e. g. <FONT FACE="Courier New, monospace">44</FONT><BR><BR><FONT FACE="Courier New, monospace">%weekday% + </FONT>e. g. <FONT FACE="Courier New, monospace">Monday </FONT>day + of the week <BR><FONT FACE="Courier New, monospace">%week% + </FONT>e. g. <FONT FACE="Courier New, monospace">28 </FONT>calendar + week</FONT></P> </SPAN><BR CLEAR=LEFT><BR> </P> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Environment variables: </B><SPAN STYLE="font-weight: normal">(Windows)</SPAN></FONT></P> <P STYLE="margin-left: 1.32cm; margin-bottom: 0cm"><SPAN ID="Rahmen4" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> - <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> - <FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%AllUsersProfile% </FONT>e. + <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%AllUsersProfile% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\ProgramData<BR>%AppData% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming<BR>%ComputerName% </FONT>e. g. <FONT FACE="Courier New, monospace">Zenju-PC<BR>%LocalAppData% </FONT>e. @@ -77,10 +78,9 @@ variables: </B><SPAN STYLE="font-weight: normal">(Windows)</SPAN></FONT></P> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Special folder locations </B><SPAN STYLE="font-weight: normal">(Windows)</SPAN></FONT></P> <P STYLE="margin-left: 1.32cm; margin-bottom: 0cm"><SPAN ID="Rahmen6" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> - <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> - <FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%csidl_Desktop% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Desktop<BR>%csidl_D</FONT><FONT FACE="Courier New, monospace">ownloads</FONT><FONT FACE="Courier New, monospace">% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\D</FONT><FONT FACE="Courier New, monospace">ownloads</FONT><FONT FACE="Courier New, monospace"><BR>%csidl_Favorites% </FONT>e. + <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%csidl_Desktop% </FONT>e. + g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Desktop<BR>%csidl_Downloads% </FONT>e. + g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Downloads<BR>%csidl_Favorites% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Favorites<BR>%csidl_MyDocuments% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Documents<BR>%csidl_MyMusic% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Music<BR>%csidl_MyPictures% </FONT>e. @@ -89,9 +89,9 @@ folder locations </B><SPAN STYLE="font-weight: normal">(Windows)</SPAN></FONT></ g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Network Shortcuts<BR>%csidl_Programs% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start - Menu\Programs<BR>%csidl_</FONT><FONT FACE="Courier New, monospace">Quicklaunch</FONT><FONT FACE="Courier New, monospace">% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Internet - Explorer\Quick Launch</FONT><FONT FACE="Courier New, monospace"><BR>%csidl_Resources% </FONT>e. + Menu\Programs<BR>%csidl_Quicklaunch% </FONT>e. g. + <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Internet + Explorer\Quick Launch<BR>%csidl_Resources% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Windows\Resources<BR>%csidl_StartMenu% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu<BR>%csidl_Startup% </FONT>e. g. @@ -105,19 +105,7 @@ E.g. <FONT FACE="Courier New, monospace">csidl_MyMusic</FONT> → </P> <P STYLE="margin-bottom: 0cm"><BR> </P> -<P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Example:</B></FONT></P> -<P STYLE="margin-left: 1.32cm; margin-bottom: 0cm"><SPAN ID="Rahmen1" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> - <UL> - <LI><P ALIGN=LEFT STYLE="margin-right: 0.98cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">C:\Backup\%username%_Config </FONT>expands - to<FONT FACE="Courier New, monospace"><BR>C:\Backup\Zenju_Config</FONT></FONT></P> - <LI><P ALIGN=LEFT STYLE="margin-right: 0.98cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">%appdata%\FreeFileSync </FONT>expands - to<FONT FACE="Courier New, monospace"><BR>C:\Documents and - Settings\Zenju\Application Data\FreeFileSync</FONT></FONT></P> - </UL> -</SPAN><BR CLEAR=LEFT><BR> -</P> -<P STYLE="margin-bottom: 0cm"><BR> -</P> + <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Hint:</B></FONT></P> <P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">You can add a great amount of flexibility to batch synchronization @@ -131,8 +119,7 @@ The FreeFileSync batch file <FONT FACE="Courier New, monospace">C:\SyncJob.ffs_b </FONT>instead of an absolute target folder and is invoked by a *.cmd file:</FONT></P> <P STYLE="margin-left: 1.32cm; margin-bottom: 0cm"><SPAN ID="Rahmen5" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: none; padding: 0cm; background: #e6e6e6"> - <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> - <FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">set + <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><FONT FACE="Courier New, monospace">set MyVar=C:\Target<BR>"C:\Program files\FreeFileSync\FreeFileSync.exe" C:\SyncJob.ffs_batch<BR></FONT><FONT COLOR="#808080"><FONT FACE="Courier New, monospace"><I><B>::%MyVar% @@ -141,10 +128,8 @@ file:</FONT></P> </P> <P STYLE="margin-bottom: 0cm"><BR> </P> -<UL> <P><SPAN ID="Rahmen3" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: 1px solid #000080; padding: 0.05cm; background: #ccccff"> - <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm"> - <FONT FACE="Tahoma, sans-serif"><B>Note</B><BR>Temporary + <P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Note</B><BR>Temporary environment variables created with the "<FONT FACE="Courier New, monospace">set</FONT>" command are only valid if the batch job is started by calling the executable directly! Using "<FONT FACE="Courier New, monospace">start @@ -152,6 +137,5 @@ file:</FONT></P> program context without these temporal variables.</FONT></P> </SPAN><BR CLEAR=LEFT> </P> -</UL> </BODY> </HTML>
\ No newline at end of file |