I see. It's only needed if the normal version doesn't work. Thank you.
What are they and should I pick them? I can't seem to find any explanation arround.
I don't see what's the problem. I didn't even remember WinRAR had that. I normally scour the config settings of the programs I use very early on to see how I can customize things. I guess I saw that and automatically ignored it, not seeing much use for it myself. I deal with lots of archives for different things daily. Why would I want any sort of "default extraction" directory. Seems like something that would cause more chaos than anything else. WinRAR has some nice features, indeed, but that one......
I'm going to venture saying that the reason your so-called "default extraction directory" is that "Downloads" folder is because the archives you are trying to extract are located there because that's where your web browser puts them when you download them. I'd suggest you go into your browser configuration menus and change that to something else. 7-Zip doesn't have a "default extraction folder", it just "defaults" to extracting to the same directory the archive you are attempting to extract is located...
In case anyone finds it interesting, I did a small modification to Shell's script to make it not only skip my .CHECK files, but also skip .7z archives. This way I can interrupt the script and resume it later and it won't re-archive the archives that have already been made. @echo off cd /d .\files for /r %%a in (*) do ( cd "%%~pa" if /i %%~xa neq .7z if /i %%~xa neq .CHECK 7z a -mx9 -mmt4 -m0=lzma2:d128m -sdel "%%~nxa.7z" "%%~nxa" ) pause I also added a "PAUSE" command at the end so that the console...
In case anyone finds it interesting, I did a small modification to Shell's script to make it not only skip my .CHECK files, but also skip .7z archives. This way I can interrupt the script and resume it later and it won't re-archive the archives that have already been made. @echo off cd /d .\files for /r %%a in (*) do ( cd "%%~pa" if /i %%~xa neq .7z if /i %%~xa neq .CHECK 7z a -mx9 -mmt4 -m0=lzma2:d128m -sdel "%%~nxa.7z" "%%~nxa" ) pause I also added a "PAUSE" command at the end so that the console...
Well, I didn't check more than opening it with a hexadecimal editor and saw typical HTML tags and just left it at that. Later I noticed the size of the file and checked a second time, noticing the 7z header after the html part. I didn't care to see if the HTML part was of any use.
Well, I'm not doing anything to the files themselves to change their content, but more like revising them and I want a visual cue that I can easily notice when browsing through them (in details view). I also can't change the filenames. There's no readily available method to manually change that file attribute, nor does it stand out visually when you browse, so .CHECK files it is for me. I could even do something ridiculous like .check------------------------- which really stands out visually. Anyway,...
OK, I looked at it a second time with a hex editor and it turns out that, after the HTML code, there's indeeed a 7-Zip archive and it does open with 18.05. I don't know if 9.20 opens it despite the prepended HTML, but the truth of the matter is that the file is wrong as it provided by the server.
That download link is broken and removing the spaces to make it work results in a downloaded file that is really an HTML document. No wonder 7-Zip won't open it. Are you sure 9.20 does open that? maybe you are doing something wrong.
That download link is broken and removing the spaces to make it work results in a downloaded file that is really an HTML document. No wonder 7-Zip won't open it. Are you sure 9.20 does open it that? maybe you are doing something wrong.
Well, some files are accompained by a .CHECK file of 0bytes that I add to keep track of those I have already dealt with. So, if there's, say, a "file2018-06-28.bin" that I have checked already, I will add a 0byte "file2018-06-28.CHECK" file beside it to "mark" it. I don't want these in the archives. Not sure how I would specify an algorithm for that, though. As for the deletion of files. It's working correctly now. I don't know what happened before.
Well, some files are accompained by a .CHECK file of 0bytes that I add to keep track of those I have already dealt with. So, if there's, say, a "file2018-06-28.bin" that I have checked already, I will add a 0byte "file2018-06-28.CHECK" file beside it to "mark" it. I don't want these in the archives. Not sure how I would specify an algorithm for that, though.
OK it works now. Thanks again. I've observed a potential problem with it, though. Running it on my test folder, It seems it only deletes the original files when it finishes compressing the files in a given folder and jumps to the next, not after each individual file. Some of the folders are pretty big, and I'm pretty sure I'll run out of space with one of these. Also, I've found a problem I didn't foresee before. There are some files that have the same name but different extension and they are being...
Hello, and thanks for replying. I've tested the script, but I can't get it to work. I already put 7-Zip in the PATH and verified that I can run it from any directory, but the script still doesn't work. I get this: The following usage of the path operator in batch-parameter substitution is invalid: %~pa" For valid formats type CALL /? or FOR /? The syntax of the command is incorrect. I'm on Windows 7 64bit if that makes any difference. BTW, can you recommend me a good windows scripting manual?
Hello, and thanks for replying. I've tested the script, but I can't get it to work. I already put 7-Zip in the PATH and verified that it works from any directory, but the script still doesn't work. I get this: The following usage of the path operator in batch-parameter substitution is invalid: %~pa" For valid formats type CALL /? or FOR /? The syntax of the command is incorrect. I'm on Windows 7 64bit if that makes any difference. BTW, can you recommend me a good windows scripting manual?
Hello, and thanks for replying. I've tested the script, but I can't get it to work. I already put 7-Zip in the PATH and verified that it works from any directory, but the script still doesn't work. I get this: The following usage of the path operator in batch-parameter substitution is invalid: %~pa" For valid formats type CALL /? or FOR /? The syntax of the command is incorrect. BTW, can you recommend me a good windows scripting manual?
I have +1TB worth of 1.5 GB files in a number of nested folders that I want to compress each one to a separate 7z archive, putting the resulting archives the in the same folders as the original files, all while these are removed to leave space (the drive is not big enough to store the archives and the originals at the same time). I'm trying to use these settings My intention was selecting them from a windows search result page and sending them to compress from there. The WinRAR GUI has options for...
I have +1TB worth of 1.5 GB files in a number of nested folders that I want to compress each one to a separate 7z archive, while leaving them in the respective original folders, while the original files get removed as they are archived. I'm trying to use these settings The RAR GUI has options for this, but 7-Zip doesn't seem to, but I don't want to compress to RAR. How can I go about this? Manually compressing each file sounds like hell. I have Zero knowledge of BATCH scripting.
I have +1TB worth of 1.5 GB files in a number of nested folders that I want to compress each one to a separate 7z archive, while leaving them in the respective original folders, while the original files get removed as they are archived. I'm trying to use these settings https://s33.postimg.cc/94e8yoln3/7zip.png The RAR GUI has options for this, but 7-Zip doesn't seem to, but I don't want to compress to RAR. How can I go about this? Manually compressing each file sounds like hell. I have Zero knowledge...