Search found 947 matches

by einstein1969
26 Nov 2013 07:26
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 51710

Re: Multi-process Advanced Encryption Standard (AES)

hi majalisk,

thanks fo updating.

I will test.

There is an error of division for zero in the case run on monoprocessor
In this case the calculated %numCPU%=0

Code: Select all

set /a pipe=!pid! %% %numCPU%


Einstein1969
by einstein1969
24 Nov 2013 14:03
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21845

Re: Raytracing-Raycasting multiprocess

einstein perhaps I can help, since I'm the one that got Antonio all spun up in that other thread Anyone who is going to attempt to help you is going to need to understand your problem. Example: What is raytracing? Do you have a good source of information about what you're doing and why? What source...
by einstein1969
23 Nov 2013 15:23
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21845

Re: Help with this code to run on multiprocesses

@Aacini I did not understand what you need. Einstein1969 Suppose for a moment that you have NOT your Batch code, but you want to solve this problem and ask for help. What do you do? Well, you should state your problem in a clear way: first describe it, then add a couple examples and the expected ou...
by einstein1969
23 Nov 2013 06:10
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21845

Re: Help with this code to run on multiprocesses

@Aacini I did not understand what you need. However, the code uses a file even if initially used environment variables with no file! I have developed various implementations and this is the one that seems more powerful on uniprocessor. But I have to redo the tests. If you need a reference from which...
by einstein1969
22 Nov 2013 15:19
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21845

Re: Help with this code to run on multiprocesses

The code: @echo off & setlocal EnableDelayedExpansion & if not "%1"=="" goto %1 mode con cols=90 lines=31 & rem mode con rate=31 delay=0 start "" /B cmd /c "%~f0" input_3D for /F "delims==" %%f in ('set') do if /i not "%%f"==&qu...
by einstein1969
22 Nov 2013 14:42
Forum: DOS Batch Forum
Topic: Help with this code to run on multiprocesses
Replies: 27
Views: 21845

Help with this code to run on multiprocesses

Hi, I have a code that need to run on multicore (multiprocess). I do not have much experience with multiprocess on dos batch. Can anyone help me rewrite code? In the meantime, I am following this Multi-process Advanced Encryption Standard (AES) thread could be a similar solution. The code as written...
by einstein1969
20 Nov 2013 13:24
Forum: DOS Batch Forum
Topic: Help! .bat file to get free disk space
Replies: 26
Views: 24636

Re: Help! .bat file to get free disk space

Thanks aGerman.

Very nice solution.
by einstein1969
19 Nov 2013 11:00
Forum: DOS Batch Forum
Topic: Help! .bat file to get free disk space
Replies: 26
Views: 24636

Re: Help! .bat file to get free disk space

Hi, since cmd.exe can only do arithmetic with 32bit numbers. Is there some kind of workaround, so that it can be done without the "outsourcing"? These lines divide a big number. The divide to 1GB (1.073.741.824) The error is very small. I suppose it is less than or equal to 0.01 The last ...
by einstein1969
18 Nov 2013 20:02
Forum: DOS Batch Forum
Topic: Help! .bat file to get free disk space
Replies: 26
Views: 24636

Re: Help! .bat file to get free disk space

How many Tb have the bigger? 2 decimal places should cater for realistic sized spanned drives. IE: 1 to 99 In GB: freespace.cmd: @echo off & setlocal EnableDelayedExpansion set Width=20 rem remove comment for small size rem set small=1 if defined small (set cs=Ü.) else set cs=Û° For /L %%N in (...
by einstein1969
17 Nov 2013 20:49
Forum: DOS Batch Forum
Topic: Help! .bat file to get free disk space
Replies: 26
Views: 24636

Re: Help! .bat file to get free disk space

foxidrive wrote:einstein, it has an issue in calculation. This drive is a 2 TB drive.

Code: Select all

D: █████████████░░░░░░░ [Used:125.25 - Free:737.72 / Tot:862.98] Gb


I have a spanned drive greater than 2 Tb also.


How many Tb have the bigger?
by einstein1969
17 Nov 2013 20:08
Forum: DOS Batch Forum
Topic: Help! .bat file to get free disk space
Replies: 26
Views: 24636

Re: Help! .bat file to get free disk space

thanks for feedback foxidrive This version for display Gb without external using alternate series. @echo off & setlocal EnableDelayedExpansion set Width=20 For /L %%N in (0,1,%width%) do (set "Full=!Full!Û" & set "Empt=!Empt!°") for /f "skip=1 tokens=1-3" %%a in...
by einstein1969
17 Nov 2013 18:19
Forum: DOS Batch Forum
Topic: Help! .bat file to get free disk space
Replies: 26
Views: 24636

Re: Help! .bat file to get free disk space

try: @echo off & setlocal EnableDelayedExpansion set Width=20 For /L %%N in (0,1,%width%) do (set "Full=!Full!Û" & set "Empt=!Empt!°") for /f "skip=1 tokens=1-3" %%a in ('wmic logicaldisk get deviceid^,FreeSpace^,Size') do ( set disk=%%a if "!disk:~1!"...
by einstein1969
10 Nov 2013 08:36
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 51710

Re: Multi-process Advanced Encryption Standard (AES)

As I said before I'd really love to hear what you guys think. I know there's a lot up there to digest, but if anyone feels like picking it apart constructive feedback is welcome. Especially anything that makes it run faster or gets rid of that pesky System warning when decrypting would be very much...
by einstein1969
09 Nov 2013 08:50
Forum: DOS Batch Forum
Topic: Multi-process Advanced Encryption Standard (AES)
Replies: 51
Views: 51710

Re: Multi-process Advanced Encryption Standard (AES)

Hi Magialisk, There is good news! If you load only the variables needed by the execution time of the most expensive part falls by a further 50% (about). You can avoid loading the variables G11 G13 G14 G9 S' if you are in the process of Encrypt and viceversa. For more information: Why does SET perfor...