<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can JSL extract &amp;quot;abc.7z&amp;quot; compressed files to the specified folder? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/489347#M73247</link>
    <description>&lt;P&gt;I downloaded the free version of rar.exe.&amp;nbsp; In the User's Manual (Rar.txt) available in the install folder, the second paragraph of the Introduction indicates that "RAR supports only RAR format archives, which have .rar file name extension by default.&amp;nbsp; ZIP and other formats are not supported."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure enough, I cannot decompress a 7z archive with rar.exe - even from the command window (independent of JMP).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, WinRAR supports command line mode, and sure enough, it will decompress a file from the Command window.&amp;nbsp; Here is how to do it with JSL from within JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;RP = Run Program(
	Executable( "C:\Program Files\WinRAR\WinRAR.exe" ),
	Options( {"e -or C:\1\abc.7z C:\2"} )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 20 May 2022 20:56:39 GMT</pubDate>
    <dc:creator>Jasean</dc:creator>
    <dc:date>2022-05-20T20:56:39Z</dc:date>
    <item>
      <title>Can JSL extract "abc.7z" compressed files to the specified folder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/487976#M73146</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example,&lt;/P&gt;&lt;P&gt;if the compressed package file is "C:\1\abc.7z",&lt;/P&gt;&lt;P&gt;its default compression Program is "C:\Program Files\WinRAR\ winrar.exe ".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With JSL this unzips the file to "C:\2".&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:59:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/487976#M73146</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T16:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can JSL extract "abc.7z" compressed files to the specified folder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/488133#M73152</link>
      <description>&lt;P&gt;Hi lala,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure how you are currently uncompressing the archive with JSL, but JSL has a function called Run Program() that allows you execute a program, send options to specify how the program should be executed.&amp;nbsp; Furthermore, it looks like WinRAR has a command line executable with optional switches to compress or uncompress an archive in a variety of ways.&amp;nbsp; If you can determine how to use UnRAR.exe to uncompress your files as desired, it should be a simple task to execute that command from within JSL.&lt;/P&gt;
&lt;P&gt;I hope this is helpful.&amp;nbsp; If you need help executing a command in JSL, please post the command (that you would execute in a cmd.exe window) that will uncompress your archive the way you want.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 15:00:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/488133#M73152</guid>
      <dc:creator>Jasean</dc:creator>
      <dc:date>2022-05-18T15:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can JSL extract "abc.7z" compressed files to the specified folder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/488300#M73173</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;"C:\Program Files\WinRAR\rar.exe" e -or "C:\1\abc.7z" "C:\2"&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 May 2022 23:47:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/488300#M73173</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-05-18T23:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can JSL extract "abc.7z" compressed files to the specified folder?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/489347#M73247</link>
      <description>&lt;P&gt;I downloaded the free version of rar.exe.&amp;nbsp; In the User's Manual (Rar.txt) available in the install folder, the second paragraph of the Introduction indicates that "RAR supports only RAR format archives, which have .rar file name extension by default.&amp;nbsp; ZIP and other formats are not supported."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure enough, I cannot decompress a 7z archive with rar.exe - even from the command window (independent of JMP).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, WinRAR supports command line mode, and sure enough, it will decompress a file from the Command window.&amp;nbsp; Here is how to do it with JSL from within JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;RP = Run Program(
	Executable( "C:\Program Files\WinRAR\WinRAR.exe" ),
	Options( {"e -or C:\1\abc.7z C:\2"} )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 May 2022 20:56:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JSL-extract-quot-abc-7z-quot-compressed-files-to-the/m-p/489347#M73247</guid>
      <dc:creator>Jasean</dc:creator>
      <dc:date>2022-05-20T20:56:39Z</dc:date>
    </item>
  </channel>
</rss>

