Jump to content
Ketarin forum

All Activity

This stream auto-updates     

  1. Past hour
  2. Thanks for the quick response, I really appreciate it. I'll try the global variables method when I get home from work.
  3. Today
  4. What is in the log files? Just put 7z.exe as a global variable in Ketarin. Then you save some work and a lot of problems. Here somewhere in the forum there are several short instructions regarding global variables. Found the post: global variables
  5. I found an open source project to download from MEGA cloud (untested). https://github.com/t3rm1n4l/megacmd (Instructions are in Readme.md, Windows binary in the "Releases" Link)
  6. Well I just turned off my computer yesterday night and turned it back on when I got home from work and now the commands/scripts that I got previously to work for extracting the file aren't working anymore. It's almost like it can't find 7-Zip anymore for some strange reason. I've tried reinstalling 7-Zip both 32/64 bit, adding it to the exception list in firewall and turning off my Anti-Virus (ESET Nod32 Antivirus). I’ve tried two different commands for multiple zip/7z files but it’s still isn’t working with Ketarin, any idea? I am also using Windows 7 64-bit operating system. Anyways to answer your previous question when you download Dolphin from https://dl.dolphin-emu.org/builds/dolphin-master-5.0-8251-x64.7z and you extract it, it comes in a folder named Dolphin-x64. I want the files inside the folder to overwrite the location. I don’t want the folder named Dolphin-x64. I have the downloaded file set to download here: C:\Program Files\Launchbox\Emulators\Dolphin\Updates\dolphin-master-5.0-8251-x64.7z & I want to extract it to this location C:\Program Files\Launchbox\Emulators\Dolphin. So, when I had the previously command/script working it would place the folder named Dolphin-x64 into that location rather than overwriting the files. Like I stated previously I don’t want the folder just the files inside the folder to overwrite. This command doesn’t seem to work anymore in extracting the file, I don’t believe I did anything wrong. 7z x -y -o"C:\Program Files\Launchbox\Emulators\Dolphin" "{file}" I’ve also tried a similar command with BGB 7z x -y -r -o"C:\Program Files\Launchbox\Emulators\BGB" "{file}" *.exe *.dll
  7. Yesterday
  8. Knightmare

    rd command wildcard support

    There are not any subfolders; however, when the zip file contains the files in a folder. When I do 7z e, it takes out the contents of the folder and puts them in the FixWin folder that I have along with the folder that it emptied: When I unzip it with the commands that I show in my first post, I get this: Since I don't need the Internet shortcut or the Text Document, my work around is this: 7z e "{file}" -o"{root}SyMenu\ProgramFiles\FixWin\" *.exe *.dll -r -y
  9. 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.
  10. Sorry for bothering you again, but I have three questions. The first is; how to extract the files then I want to move the files to a specific location then I want to delete the folder that the zip/7z created. Step 1: 7z x -y -o"C:\Program Files\Launchbox\Emulators\Dolphin\Updates" "{file}" Step 2: (Move files) or (Rename folder that is extracted and overwrite files in location)? Step 3: rd /s /q "C:\Program Files\Launchbox\Emulators\Dolphin\Updates\Dolphin-x64" "{file}" My next question is; I assume when you extract the files to a location with the existing files it will automatically overwrite those files, right? My last question is; do you only need Uniextract if 7-Zip can’t extract a certain file extension? It seems to work fine for 7z/zip.
  11. Last week
  12. shawn

    rd command wildcard support

    i've never used FixWin. are there subfolders below the versioned folders? such as "\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!
  13. Knightmare

    rd command wildcard support

    I'm trying to figure out how to delete a subfolder that is created when I download FixWin 10. I have the program set to extract the zip folder into a FixWin folder that I have created using the 7z e command to ignore the original structure; however, if a new version is released, the folder named after the version, so I'm left with an empty folder in my FixWin folder with the version name. Currently, it is If a new version comes out, then the name of that folder will change and when I update, I believe that I will have two empty folders: one with the old version name and the other with the new version name. I would like to delete the empty folder during extraction but I don't know how to do that. Any help?
  1. Load more activity

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.