Search found 66 matches

by OperatorGK
29 Jul 2015 08:29
Forum: DOS Batch Forum
Topic: command prompt in windows 10
Replies: 37
Views: 40434

Re: command prompt in windows 10

Link

Here it is: viewtopic.php?f=3&t=4312
selenium

What is it?
by OperatorGK
29 Jul 2015 07:07
Forum: DOS Batch Forum
Topic: command prompt in windows 10
Replies: 37
Views: 40434

Re: command prompt in windows 10

Win10 isn't now at my ASUS, so someone, please test following things:
* Debug parsing mode: 256+ opening brackets
* (goto) 2>nul trick
* %cmdcmdline% bug
And other strange hacks that I don't remember.
by OperatorGK
24 Jul 2015 10:11
Forum: DOS Batch Forum
Topic: Powershell WriteError - removing apps
Replies: 3
Views: 5404

Re: Powershell WriteError - removing apps

Maybe remove spaces before closing "?
by OperatorGK
21 Jul 2015 01:31
Forum: DOS Batch Forum
Topic: copy /B safe ?
Replies: 24
Views: 16915

Re: copy /B safe ?

Ed, you haven't given a detailed requirement. You don't want to split files, as you first stated, you want to edit the files at some nebulous points (which you haven't revealed). I thought you were cluey enough to understand that a program needs exact requirements to perform a task, but somehow you...
by OperatorGK
17 Jul 2015 06:34
Forum: DOS Batch Forum
Topic: copy /B safe ?
Replies: 24
Views: 16915

Re: copy /B safe ?

yes, don't understand, if I join a .rar and a .jpeg file, I should get a corrupted file that is neither rar nor jpeg, because the rar part prevents it to render as jpeg and vice versa not ? It's much alike those .bat/.js hybrids - both .rar and .jpeg file formats have specific header, like these (s...
by OperatorGK
13 Jul 2015 01:37
Forum: DOS Batch Forum
Topic: Strange output in call echo %var%: "This fail"
Replies: 11
Views: 7713

Re: Strange output in call echo %var%: "This fail"

Aah, thank you. I remember topic where you try to find safe echo method.
by OperatorGK
12 Jul 2015 12:16
Forum: DOS Batch Forum
Topic: Strange output in call echo %var%: "This fail"
Replies: 11
Views: 7713

Re: Strange output in call echo %var%: "This fail"

Aacini wrote:
jeb wrote:Then you simply should delete your echo.bat file :D

Yes of course!!!! This is the reason! :oops:

Thanks, jeb

Antonio

:?: :?
Please explain why you created this file. I thought nobody familiar with cmd.exe would do so.
What is the point?
by OperatorGK
12 Jul 2015 12:10
Forum: DOS Batch Forum
Topic: Strange output in call echo %var%: "This fail"
Replies: 11
Views: 7713

Re: Strange output in call echo %var%: "This fail"

jeb wrote:Then you simply should delete your echo.bat file :D

I think it's external program somewhere in %PATH%. Nobody in clear mind will create such a batch file!
To distinguish them, append "pause" to the end. If it's echo.bat, program won't pause, but if it's echo.exe, it will pause :!: .
by OperatorGK
11 Jul 2015 12:39
Forum: DOS Batch Forum
Topic: creating a true mutex for exclusive acces
Replies: 46
Views: 37411

Re: creating a true mutex for exclusive acces

Library including itself by changing the original environment? I'm developing a similar library, but I'm doing it the other way. My solution is remove the string "call library" and place the actual function library text at the end of batch file using (goto) 2>nul GetCaller trick + on-fly ...
by OperatorGK
14 Jun 2015 11:32
Forum: DOS Batch Forum
Topic: screen capture
Replies: 14
Views: 11709

Re: My failed attempt to take a screenshot with a batch file

Its easy with C# hybrid but wanted something without redundant echoes and temporary compiled files.

Use BAT/Powershell hybrid. Powershell has the same possibilities as C# but doesn't require compilation.
by OperatorGK
14 Jun 2015 06:57
Forum: DOS Batch Forum
Topic: creating a true mutex for exclusive acces
Replies: 46
Views: 37411

Re: creating a true mutex for exclusive acces

Library including itself by changing the original environment? I'm developing a similar library, but I'm doing it the other way. My solution is remove the string "call library" and place the actual function library text at the end of batch file using (goto) 2>nul GetCaller trick + on-fly b...
by OperatorGK
14 Jun 2015 06:13
Forum: DOS Batch Forum
Topic: creating a true mutex for exclusive acces
Replies: 46
Views: 37411

Re: creating a true mutex for exclusive acces

I understand that you need macro caching, but for what you need macro caching? Except some mega-heavy tasks, heavier than AES, macro caching is over-engineering and actually decreases performance, cause it'll run more slowly that all other code. Maybe you are factorizing RSA2048 ;) ?
by OperatorGK
14 Jun 2015 05:59
Forum: DOS Batch Forum
Topic: creating a true mutex for exclusive acces
Replies: 46
Views: 37411

Re: creating a true mutex for exclusive acces

Doskey used in the function which caches macro to disk :shock: ! Looks like the heavy task is so heavy that it requires a couple of uneasy tasks like macro caching to enhance it's speed. WHAT IS IT? :shock:
by OperatorGK
14 Jun 2015 05:25
Forum: DOS Batch Forum
Topic: creating a true mutex for exclusive acces
Replies: 46
Views: 37411

Re: creating a true mutex for exclusive acces

I think I'll use doskey to set up a communication link to the parent

How :shock:? Can you please write the code? And will it work parallel?
Also, for WHAT you need such a parallel scripting? Only file I/O heavy tasks like AES ciphering/ MD5 hashing require it.