Search found 28 matches

by mingolito
22 Jul 2016 08:18
Forum: DOS Batch Forum
Topic: Save cmd output to a text file...?
Replies: 6
Views: 5843

EDIT: (ReOpen)Save cmd output to a text file (Closed)

Boys is not a virus, your antivirus can see him as a false positive, I have not posted to give problems or to waste time but to find a solution to the problem. The files is a compression program "MSC (media streams compressor)". http://krinkels.org/resources/msc-media-streams-compressor.4/...
by mingolito
22 Jul 2016 06:36
Forum: DOS Batch Forum
Topic: Save cmd output to a text file...?
Replies: 6
Views: 5843

Re: Save cmd output to a text file...?

OK Bro..., work for me any solution that you know to call the command and save the output to a text file.
I also tried it in VB direct the output into a textbox, and I get the same problem.
If you know any other solution that can be adapted to the application, for me I fine. :|
by mingolito
22 Jul 2016 06:02
Forum: DOS Batch Forum
Topic: Save cmd output to a text file...?
Replies: 6
Views: 5843

Save cmd output to a text file...?

Hi guys I need to redirect output of a *.exe files in a text file, I tried in every possible way but I did not succeed. If I run the command "Test.exe -h" is correctly displayed in the cmd window, if I try to copy the contents to a text file does not get anything. This commands without suc...
by mingolito
19 Jun 2015 09:16
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

But I would never recommend that anyone blindly delete duplicates as you propose.

Oh yep, in fact thanks to the work of @foxidrive we were able to create a backup folder, to prevent permanent loss of files.
Prevention is Better than Cure... :wink:
by mingolito
19 Jun 2015 08:56
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

OkK...Then you should also compare the file signature "hash" to determine if a file contained to a different folder of the same name or size, is equal to 100% to another file in another folder.. Yes. You need a third party tool or look at carlos' post in recent weeks for his native batch ...
by mingolito
19 Jun 2015 05:37
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

If you have one file called runme.bat that contains @echo off echo 1234 and another file called runme.bat that contains @echo off echo 1245 Then your comparison will consider them both the same, but only because the name and filesize is the same. What is inside those two files can be totally differ...
by mingolito
19 Jun 2015 04:10
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

This works here in my simple tests. I'm just clarifying that this tests for the same filename and filesize, but doesn't compare the contents of the files that are classified as duplicates. @echo off set "storage_folder=d:\storage" md "%storage_folder%" 2>nul SET "StartFolde...
by mingolito
19 Jun 2015 02:40
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

woooo @foxidrive It is perfect bro....certainly an excellent application that may serve other users here in the forum... One last thing, if you want to do it, to perfect the application, the possibility of including into backup folder that is created, the folder that contains the files duplicates. M...
by mingolito
18 Jun 2015 07:20
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

If you want to just move the files to a folder you create, that they can be retrieved from, that can be done with plain batch code. it's OK to just move the files to a folder you created, so as to recover the files if necessary I kindly ask help in changing the code. Before I proceed in what you ha...
by mingolito
17 Jun 2015 09:00
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

If you want to just move the files to a folder you create, that they can be retrieved from, that can be done with plain batch code. The copies stored that way should have a date-time added to the filename, at the beginning, so you can see which are the earliest deleted files and which are the most ...
by mingolito
17 Jun 2015 06:58
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

I tried to replace so:

Code: Select all

IF "%fsize%"=="%~z1" xcopy C:\$Recycle.bin "%~1"
but does not work... :(
by mingolito
17 Jun 2015 04:37
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Re: Remove Duplicate Files and Move them in the Bin.

foxidrive wrote:Third party tools exist that will delete to the recycle bin, rather than using the DEL command.

Thanks for the answer, but how do I adapt it to the code posted.
would you help me ???
by mingolito
16 Jun 2015 08:31
Forum: DOS Batch Forum
Topic: Remove Duplicate Files and Move them in the Bin.
Replies: 25
Views: 15600

Remove Duplicate Files and Move them in the Bin.

Mod Edit: This doesn't compare the contents of files Hello guys, use this command batch to remove duplicate files in a folder and its subfolders: SET "StartFolder=." FOR /r "%StartFolder%" %%i IN (*) DO call:doit "%%~i" GOTO:EOF :doit SET "fname=%~nx1" SETLOC...
by mingolito
09 Dec 2014 12:04
Forum: DOS Batch Forum
Topic: Split Folder in multiple folders for size !!!
Replies: 29
Views: 25568

Re: Split Folder in multiple folders for size !!!

This is what you need (if I understand what you need): m The program above has three different options on which files are moved to target folders: brute-force, pair swap, single swap (everything is explained at the web site). There is a source and maybe somebody who 'speaks' JAVA can write a batch ...
by mingolito
08 Dec 2014 14:59
Forum: DOS Batch Forum
Topic: Split Folder in multiple folders for size !!!
Replies: 29
Views: 25568

Re: Split Folder in multiple folders for size !!!

Just wondered one thing, at the beginning, if there was a chance to split a folder, in multiple folders, leaving intact the order of the files and sub folders, with the choice to set the number of destination folders, and not the number of files within each folder, starting as an example the script ...