Search found 22 matches
- 15 Oct 2019 07:10
- Forum: DOS Batch Forum
- Topic: How can you compare two files Binary and notify?
- Replies: 3
- Views: 11296
Re: How can you compare two files Binary and notify?
the files I have to compare are in HEX
- 15 Oct 2019 06:52
- Forum: DOS Batch Forum
- Topic: How can you compare two files Binary and notify?
- Replies: 3
- Views: 11296
How can you compare two files Binary and notify?
How can you compare the [FILE1.bin] and [FILE2.bin] and then notify ECHO if file 1 is different from file 2?
I would like to do such a thing!
FILE 1 = FILE 2
if it is equal give command ECHO OK
if it is different give command ECHO ERROR
I would like to do such a thing!
FILE 1 = FILE 2
if it is equal give command ECHO OK
if it is different give command ECHO ERROR
- 25 Sep 2019 07:52
- Forum: DOS Batch Forum
- Topic: help please
- Replies: 0
- Views: 27929
help please
Hello with this code I open a selection window! At the end of the procedure how can I get out a window to save the file with another name <# : chooser.bat @echo off setlocal for /f "delims=" %%I in ('powershell -noprofile "iex (${%~f0} | out-string)"') do ( setlocal EnableDelayedExpansion if not exi...
- 20 Jun 2019 10:54
- Forum: DOS Batch Forum
- Topic: Script Request
- Replies: 1
- Views: 4506
Re: Script Request
I created a solution
Code: Select all
"C:\Program Files (x86)\WinRAR\Rar.exe" a -ep1 -r %~n1.zip %1 %2 %3 %4 %5 %6 %7 %8 %9 %10
move %~n1.zip zipped-archive
del %1 %2 %3 %4
- 14 Jun 2019 06:18
- Forum: DOS Batch Forum
- Topic: Script Request
- Replies: 1
- Views: 4506
Script Request
I have 2 File
file.extension1
file.extension2
I would need a script that by moving over the files creates a ZIP archive with the name of the first file and that after creating the zip delete the two files I dragged over
file.extension1
file.extension2
I would need a script that by moving over the files creates a ZIP archive with the name of the first file and that after creating the zip delete the two files I dragged over
- 05 Apr 2019 06:58
- Forum: DOS Batch Forum
- Topic: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
- Replies: 9
- Views: 9681
Re: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
The string may vary in length but the shape is 4 letters and numbers attached and then space and 4 more letters and numbers Now to overcome this problem I downloaded a tasker that stores the steps on the PC screen and repeats them over and over again
- 05 Apr 2019 06:46
- Forum: DOS Batch Forum
- Topic: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
- Replies: 9
- Views: 9681
Re: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
I would need a generic script to transform even long strings
- 05 Apr 2019 06:44
- Forum: DOS Batch Forum
- Topic: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
- Replies: 9
- Views: 9681
Re: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
0000 d601 ac03 7805 0cfe 0cfe 0cfe 0cfe 9808 9808 9808 280a 280a 280a 280a 1c0c 1c0c 1c0c 10c0 ac0d ac0d ac0d ac0d 100e 100e 100e 100e 100e 100e 100e 100e 100e 100e 100e 100e de0d de0d de0d de0d 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe 0cfe e803 e803 e803 e803 e803 e803 e803 e803 e803 ...
- 05 Apr 2019 06:21
- Forum: DOS Batch Forum
- Topic: Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
- Replies: 9
- Views: 9681
Convert 1111 2222 3333 in \x11\x11\x22\x22\x33\x33
Hi how can I convert a text.txt file containing the strings
1111 2222 3333
to
\x11\x11\x22\x22\x33\x33
1111 2222 3333
to
\x11\x11\x22\x22\x33\x33
- 14 Mar 2019 06:46
- Forum: DOS Batch Forum
- Topic: Edit Binary File
- Replies: 17
- Views: 18787
Re: Edit Binary File
Hi! I used string
How can I save a new file and not overwrite the selected one?
Example:
I select the File ->% 1
Processing ...
Saving with different extension ->
% 1.noegr
Code: Select all
call JREPL.BAT "\x00\x8c\x40\xf3\x37\xac\x01\x55" "\x00\x8c\x40\xf3\xb9\x92\x01\x55" /XSEQ /M /F "%1" /O "-"
Example:
I select the File ->% 1
Processing ...
Saving with different extension ->
% 1.noegr
- 10 Mar 2019 17:20
- Forum: DOS Batch Forum
- Topic: Edit Binary File
- Replies: 17
- Views: 18787
Re: Edit Binary File
I would like to write the automatic changes in a single script However, thank you was very kind and helpful! Thank you for what you did ...
- 10 Mar 2019 17:09
- Forum: DOS Batch Forum
- Topic: Edit Binary File
- Replies: 17
- Views: 18787
Re: Edit Binary File
is it possible to have a written example?
- 10 Mar 2019 16:51
- Forum: DOS Batch Forum
- Topic: Edit Binary File
- Replies: 17
- Views: 18787
Re: Edit Binary File
...and if I had to give more replacement commands? that is, give 2 or more changes looking for more parts? Example First change x00\x32\x00\x4d\x00\x8c\x40\xf3\x37\xac\x01\x55\x0d\xac\x08\x55\x00\x00\x00\xf0\x07\xd0\xff\xb0 to x00\x32\x00\x4d\x00\x8c\x40\xf3\xb9\x92\x01\x55\x0d\xac\x08\x55\x00\x00\x...
- 10 Mar 2019 15:39
- Forum: DOS Batch Forum
- Topic: Edit Binary File
- Replies: 17
- Views: 18787
Re: Edit Binary File
change
84750:37
84751:AC
to
84750:B9
84751:92
84750:37
84751:AC
to
84750:B9
84751:92
- 10 Mar 2019 14:50
- Forum: DOS Batch Forum
- Topic: Edit Binary File
- Replies: 17
- Views: 18787
Re: Edit Binary File
Example