I would like to automatically delete a ZIP file after it is extracted the files inside it. I use Windows10.
I tried an option in WINRAR which allows us to delete the zip folder after extraction. But it only works a single time and doesn't work as a default option. Presently I manually delete the ZIP files after the extraction and it is an additional task and a waste of time. If anyone can help me with the Windows Native option to do the same, let me know. So that I don't need to delete the folder every time. But also help me to do this with WINRAR or any other ZIP application. So I am looking for the solution. Hopes someone can help me to solve this issue. Thanks in Advance!
Related
I've searched all over and seen many similar questions but nothing I was able to tweak and make work for my situation.
I have files in a folder like this
C:\music\unknown-folder-name\*.*
And I want to move all of them to
C:\music\unknown-folder-name\disc1
This seems so simple but I can't figure it out. I'm happy to use PowerShell or regular command line or a batch file or whatever works. Thanks for your help.
I have a batch file which needs to rename a folder from Profile.Win7 to Profile.Win7.%currentdate%.
Right now I'm just using the command
move /y %userprofileaddress%\Profile.Win7 %userprofileaddress%\%backupfolder%
which doesn't throw an error (as far as I can see) but just doesn't do anything.
The folder isn't in use, so any ideas?
Edit: It works now... I wasn't running as admin. facepalm
I think that it is easier to obtain answers if you directly describe the corresponding processing and results of the batch file in the question.
Both works well and not work examples. And if there are error messages etc.
According to the contents of the current question, it seems that it renames the folder itself rather than moving or copying the files in the folder.
In that case, if there is a program using the corresponding folder and files and folders in it, you should not be able to rename.
Please check whether such a situation has occurred.
I'm editing the skin of kodi but the problem is that i edit it and compressed it into zip after that I try to add on kodi from zip file it gives me the error "Addon does not have correct structure" I think it is the way I'm turning it back into a .zip, because even if I just unzip the skin and then without changing anything turn it back into a zip it still gives me that error, so I'm just wondering does anybody know what I'm doing wrong or do I need to use a special tool to make the plugin into a zip
I'm using openelec 6.0 on a raspberry pi 3
You will need to set it up like this:
zip (name doesn't matter)
folder with plugin name (ie plugin.program.hello.world)
plugin files including addon.xml, LICENSE.txt, changelog.txt, icon.png, etc
You don't need a special tool but you may be inadvertently compressing the zip. You could try Keka
I have a folder where I don't want to modify any existing files in.
But I want to be able to add and remove files easily and recognize these files easily.
I thought in something like a SymLink but I want one folder where only the added files are shown and then the source folder with all files.
Is there anything like this? Or do you have a better idea?
Okay I found SyncToy from microsoft.
It has an echo mode which does what I wanted.
Can anyone think of a way (perhaps using a PowerShell script or similar) where I can look for *.cs files that are on disk in the folder structure, but aren't included in a project file?
This has come about gradually over time with merging in Subversion etc. I'm looking for a way to clean up after myself, basically. :)
All your .cs files will be mentioned in the project file, right? Scrape the XML, list the files and then do a search on the whole system. Works, but is inefficient.
"Show all files" button at the top of Solution Explorer, then manually inspect?
The PowerShell script in my other post will do this. The script will get the list of included files from the project file and compare that against the files on disk. You will get the set of files that are on disk but not included in the project. You can either delete them or pend them as deletes in TFS.
The script is here: https://stackoverflow.com/a/23420956/846428