Search found 5 matches

by Flora
26 Sep 2014 11:40
Forum: DOS Batch Forum
Topic: ShellShock
Replies: 2
Views: 3505

ShellShock

This might be slightly off topic compared to what you guys usually talk about,but consider this as an open discussion about security. As all of you might heard,there is a newly found bug in bash that could be exploited and cause more havoc compared to the previous bug involving OpenSSL. Just out of ...
by Flora
08 Jul 2013 01:36
Forum: DOS Batch Forum
Topic: Some Explaination on these
Replies: 6
Views: 6798

Re: Some Explaination on these

I think this solves all my questions.
Thank you @penpen and @foxydrive for your reply.
by Flora
08 Jul 2013 00:52
Forum: DOS Batch Forum
Topic: Some Explaination on these
Replies: 6
Views: 6798

Re: Some Explaination on these

How can the loop manage to exit properly? from what i can understand, there is no change on the var _subs (apart from substracting the first character) Only _len is changing (increment for every loop.) put an ECHO %_subs% in the loop and see what is happening to it. Make the string more than 5 char...
by Flora
07 Jul 2013 23:37
Forum: DOS Batch Forum
Topic: Some Explaination on these
Replies: 6
Views: 6798

Some Explaination on these

My very first thread on Dostips Hi,i'm looking for some explaination on few of the code blocks here Source : m @echo off :: strlen.bat :: http://acm.zhihua-lai.com if [%1] EQU [] goto end :loop if [%1] EQU [] goto end set _len=0 set _str=%1 set _subs=%_str% :getlen if not defined _subs goto result :...
by Flora
04 Jul 2013 01:15
Forum: DOS Batch Forum
Topic: batch echo output to txt issues
Replies: 6
Views: 5790

Re: batch echo output to txt issues

Bumping an old thread just to say thanks to @aGerman
#Godspeed