diff options
Diffstat (limited to 'BUILD/Help/html/Macros.html')
-rw-r--r-- | BUILD/Help/html/Macros.html | 133 |
1 files changed, 0 insertions, 133 deletions
diff --git a/BUILD/Help/html/Macros.html b/BUILD/Help/html/Macros.html deleted file mode 100644 index d9d34a65..00000000 --- a/BUILD/Help/html/Macros.html +++ /dev/null @@ -1,133 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<HTML> -<HEAD> - <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> - <TITLE></TITLE> - <META NAME="GENERATOR" CONTENT="LibreOffice 4.0.2.2 (Windows)"> - <META NAME="CREATED" CONTENT="20091206;16574000"> - <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 { margin: 2cm } - P { margin-bottom: 0.21cm } - 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" 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 -synchronization. Begin and end of each macro is marked by a </FONT><FONT FACE="Tahoma, sans-serif"><B>%</B></FONT> -<FONT FACE="Tahoma, sans-serif">character. Besides special macros -handling time and date, the </FONT><SPAN STYLE="text-decoration: none"><FONT FACE="Tahoma, sans-serif"><B>operating -system's environment variables</B></FONT></SPAN> <FONT FACE="Tahoma, sans-serif">can -also be used.</FONT></P> -<P STYLE="margin-bottom: 0cm"><BR> -</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-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-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. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Local<BR>%ProgramData% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\ProgramData<BR>%ProgramFiles% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Program - Files<BR>%ProgramFiles(x86)% </FONT>e. g. <FONT FACE="Courier New, monospace">C:\Program - Files (x86)<BR>%Public% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\Public<BR>%Temp% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Windows\Temp<BR>%UserName% </FONT>e. - g. <FONT FACE="Courier New, monospace">Zenju<BR>%UserProfile% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\<username><BR>%WinDir% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Windows</FONT></FONT></P> -</SPAN><BR CLEAR=LEFT><BR> -</P> -<P STYLE="margin-bottom: 0cm"><BR> -</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-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. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Pictures<BR>%csidl_MyVideos% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\Videos<BR>%csidl_Nethood% </FONT>e. - 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_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. - <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start - Menu\Programs\StartUp<BR>%csidl_Templates% </FONT>e. - g. <FONT FACE="Courier New, monospace">C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Templates</FONT></FONT></P> -</SPAN><BR CLEAR=LEFT><FONT FACE="Tahoma, sans-serif">Note: Most -macros listed here also have a variant for public folders.</FONT> -E.g. <FONT FACE="Courier New, monospace">csidl_MyMusic</FONT> → -<FONT FACE="Courier New, monospace">csidl_PublicMusic</FONT> -</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 a ffs_batch configuration file - by creating new temporary environment variables in a bat or cmd file that are evaluated by FreeFileSync at runtime.</FONT></P> -<P STYLE="margin-bottom: 0cm"><BR> -</P> -<P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Example:</B> -The FreeFileSync batch file <FONT FACE="Courier New, monospace">C:\SyncJob.ffs_batch</FONT> contains macro <FONT FACE="Courier New, monospace">%MyVar%</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-bottom: 0cm"><FONT FACE="Courier New, monospace">set - MyVar=C:\Target<BR>"C:\Program files\FreeFileSync\FreeFileSync.exe" C:\SyncJob.ffs_batch<BR> - <FONT COLOR="#808080"><I><B>::%MyVar% is resolved as C:\Target during synchronization</B></I></FONT></FONT> -</P> -</SPAN><BR CLEAR=LEFT><BR> -</P> -<P STYLE="margin-bottom: 0cm"><BR> -</P> - <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-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 synchronization is started by calling the - FreeFileSync executable directly. Using <FONT FACE="Courier New, monospace">start /wait</FONT> creates a new program context without these temporal variables.</FONT></P> - </SPAN><BR CLEAR=LEFT> - </P> -</BODY> -</HTML>
\ No newline at end of file |