Jump to content
Ketarin forum

shawn

Moderators
  • Content count

    921
  • Joined

  • Last visited

About shawn

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. What is your ultimate goal in steps 1 through 3? Are you trying to only extract a portion of the files, or are you trying to exclude only that one folder, or are you trying to accomplish something else? The syntax in step one can be adjusted to exclude the Dolphin-x64 folder by adding -x"Dolphin-x64" thus eliminating the need for steps 2 and 3. You could also use a second 7z call to extract only a portion of the contents with -i in order to effect step 2. The issues you might face, as this is extracting to the Program Files folder, is permission to write and propagation of permissions to the folder after the write. The "-y" in your 7z command means "overwrite". "7z vs uniextract vs winzip vs some other compression utility" is really a matter of personal taste and syntax. Other than that, there's very few differences in most compression tools today.
  2. shawn

    rd command wildcard support

    i've never used FixWin. are there subfolders below the versioned folders? such as "10.0.1.0\something\file.ext"? if not, then you can just extract the entire contents of the zip file into the FixWin folder, overwriting with new data. your first post-download command should be doing that already: 7z e "{file}" -o"{root}SyMenu\ProgramFiles\FixWin" -y that said, you could always use a for loop to do it instead: for /f "delims=" %%d in ('dir "{root}SyMenu\ProgramFiles\FixWin" /s /b /ad ^| sort /r') do rd "%%d" or robocopy: ROBOCOPY "{root}SyMenu\ProgramFiles\FixWin" "{root}SyMenu\ProgramFiles\FixWin" /S /MOVE good luck!
  3. the command would be something like: 7z x -y -o"F:\Program Files\JDownloader\Updates" "{file}" *.exe *.dll Note that "{file}" is a "Special Variable". There's more about those on the Wiki. As for downloading from Mega - I've personally never had a need. That said, if you can't find a standard link then you might want to try opening the URL with PowerShell in a script to see if that allows the contents to load correctly. If so, you can parse the URL and even download it from there. Another option is to use aria2, which is amazingly effective at various download services, including torrents. I tried the URL above though and it didn't work.
  4. shawn

    unexpected error occurred on a send

    Unfortunately, you need to be careful with sourceforge these days. They've become far less reliable over time. https://twitter.com/sfnet_ops
  5. shawn

    Zemana Antimalware Portable

    the easiest way would probably be via Bleeping Computer. here's a template for FRST which you can modify for Zemana. <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="53a53f35-4107-4b23-acd2-2aa1f0f8088c"> <Category>Security</Category> <WebsiteUrl /> <UserAgent /> <UserNotes /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>"\d+;\surl=([^"]+)"</Regex> <Url>http://www.bleepingcomputer.com/download/farbar-recovery-scan-tool/dl/82/</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{yyyy}{MM}{dd}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>..\{category}\{appname:regexreplace:([\s\t\r\n\-\\&amp;\/]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>FRSTx64</Name> </ApplicationJob> </Jobs>
  6. targetpath is not a required value - empty is a perfectly valid state. most people will use something more distinctive, but empty is ok.
  7. shawn

    Login

    Yes. There's a couple samples on form submission in the forum. Here's one. Here's another.
  8. shawn

    Reordering variables

    Turns out i dont have the rights to add someone to the wiki. @floele can you please add @efors to the wiki?
  9. shawn

    How To Install Files From Ketarin

    Short answer, yes. There's a tab (Setup) in the app properties for you to create and tailor setup instructions for each individual application. There are many examples in the forum here, and more on the wiki here, and more on the Unattended page here. Ask us for help with specific apps and we're happy to help here, too. To help with a specific download we typically need to see what the site or download is. The simplest solution is to add a pre-download command that just issues a delay. This is easy in powershell with the following (which will wait 10 seconds before proceeding): Start-Sleep -s 10 To use this go to the Commands tab then change the language to PowerShell in the first drop-down box. Finally, paste the code above into the top box ("execute the following commands before downloading").
  10. shawn

    mydigitallife error 520

    have you tried changing the user-agent to a standard string such as "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"?
  11. shawn

    Reordering variables

    @efors, I agree. I'll try to make the time to do that in the next few weeks. If you're up to doing it yourself you can be granted access to edit the wiki.
  12. shawn

    Variable List options

    thank you!
  13. shawn

    Close Log with ESC / STRG-L

    correct. the latest build does add hotkeys for other behaviors, so it should be possible to configure these as well (once it's added to the interface).
  14. shawn

    Extend "delete previous" behavior

    I like the way aria2 does it -- basically the same as linux log rotation where the files are bumped "name.1.ext" to "name.n.ext" where n is the limit of copies you wish to maintain.
  15. shawn

    Persistent status column value

    the ability to track specific pre-download and post-download events already exists. there's a relatively recent thread (about 3 or 4 months maybe?) that demonstrates the ability to add a LastUpdated variable that is updated automatically after an update is downloaded. perhaps a better solution is to add error handling as a Command (like pre-download/post-download) that can run on-error. this would allow better automation to address issues that are discovered. @floele - what do you think?
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.