<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>SyMenu - SyMenu Suite - The SPS scripting engine: Script after install - Messages</title>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=432</link>
<description>SyMenu - SyMenu Suite - The SPS scripting engine: Script after install - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<pubDate>Thu, 19 May 2016 18:10:19 GMT</pubDate>
<lastBuildDate>Thu, 19 May 2016 18:10:19 GMT</lastBuildDate>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=432</link>
<title>Message from Gianluca</title>
<description><![CDATA[Hello guys.<br/><br/>And finally the script after install is quite ready.<br/><br/>The  syntax is changed a bit since my last post. I think this syntax is  easier to understand and use but, since I'm still in development,  everything can be changed. So I'm awaiting for your suggestions.<br/><br/><br/>This is the syntax:<br/><br/>The event occurs just after the program installation. Every command is launched from the app root folder so every path is a relative one.<br/>The use of absolute paths causes the script fail. <br/><br/>Syntax:<br/><br/><b># - Comment</b><br/># [whatever]<br/>Ex.<br/># This is a remark<br/><br/><b>MakeDir - Creates a new folder</b><br/>MakeDir &lt; NewFolderPath &gt;<br/>Ex.<br/>MakeDir NewFolder<br/>MakeDir "New Folder"<br/>MakeDir "New Folder\New Sub Folder" <br/><br/><b>RenDir - Rename a folder or move it or both</b><br/>RenDir &lt; OldFolderPath &gt; &lt; NewFolderPath &gt;     <br/>Ex.<br/>RenDir Folder FolderRenamed<br/>RenDir Folder "Folder Renamed"<br/>RenDir Folder\SubFolder SubFolder (it moves the SubFolder to the root)<br/>RenDir Folder\SubFolder MainFolder (it moves the SubFolder to the root and changes its name)<br/><br/><b>RemoveDir - Delete a folder and all its elements</b><br/>RemoveDir &lt; FolderToDeletePath &gt;<br/>Ex.<br/>RemoveDir "Temp Folder"<br/>RemoveDir "Folder\SubFolder"<br/><br/><b>RenFile - Rename a file or move it or both</b><br/>RenFile &lt; OldFilePath &gt; &lt; NewFilePath &gt;<br/>Ex.<br/>RenFile file1.exe file2.exe<br/>RenFile Folder\file1.exe file1.exe (it moves the file1.exe to the root)<br/>RenFile Folder\file1.exe file2.exe (it moves the file1.exe to the root and changes its name)<br/><br/><b>CopyFile - Copy a file</b><br/>CopyFile &lt; SourceFilePath &gt; &lt; NewFilePath &gt;<br/>Ex.<br/>CopyFile file1.exe file2.exe<br/>CopyFile Folder\file1.exe file1.exe (copy the file1.exe file to the root)<br/><br/><b>DelFile - Delete a file</b><br/>DelFile &lt; FileToDeletePath &gt;<br/>Ex.<br/>DelFile file1.exe<br/>DelFile Folder\file1.exe<br/><br/><b>CreateFile - Create an empty text file. By default the econding is ANSI but it can be changed</b><br/>CreateFile &lt; FileToCreatePath &gt; [/ANSI | /UTF8]<br/>Ex.<br/>CreateFile file1.ini<br/>CreateFile file1.ini /UTF8<br/><br/><b>CreateFileStart / CreateFileEnd - Create a text file with a content. By default the econding is ANSI but it can be changed</b><br/>CreateFileStart &lt; FileToCreatePath &gt;[/ANSI | /UTF8]...content...CreateFileEnd<br/>Ex.<br/>CreateFileStart file1.ini<br/>paramA = 2<br/># the remarks are ignored even inside the content<br/>path = ./ folder<br/>...<br/>CreateFileEnd]]></description>
<pubDate>Thu, 19 May 2016 18:10:19 GMT</pubDate>
</item>
</channel>
</rss>
