Search found 7 matches

by Maylow
20 Oct 2019 07:10
Forum: DOS Batch Forum
Topic: I need an example
Replies: 2
Views: 3782

Re: I need an example

Not sure what you want or how you want it exactly. More specifications of your goal might help. What do you mean with 'the guy'? Is this a set of characters which together look like a guy, like in ASCII art? How do you see 'control'? As in 'move' the set of characters? There are many ways to achieve...
by Maylow
09 Oct 2019 22:15
Forum: DOS Batch Forum
Topic: Remove Microsoft header from cmd, for example when executing code from alternate data stream
Replies: 10
Views: 6377

Re: Remove Microsoft header from cmd, for example when executing code from alternate data stream

I have read about the limitations of alternate data streams, such as NTFS required, not transportable (upload/download/email) and such. Fortunately this is not a problem for the project. NTFS is a requirement of the project because other features of NTFS are also used (file compression/encryption). ...
by Maylow
09 Oct 2019 15:19
Forum: DOS Batch Forum
Topic: Remove Microsoft header from cmd, for example when executing code from alternate data stream
Replies: 10
Views: 6377

Re: Remove Microsoft header from cmd when executing code from alternate data stream

I have tried that already like the cmd /C option, that doesn't work as expected.

The solution is to redirect the < cmd option to >nul and to redirect output from inside the stream to >con.

Maar dank je! ;)
by Maylow
09 Oct 2019 14:07
Forum: DOS Batch Forum
Topic: Remove Microsoft header from cmd, for example when executing code from alternate data stream
Replies: 10
Views: 6377

Re: Remove Microsoft header from cmd when executing code from alternate data stream

Manu thanks for all the great tips! :D Yes I've experienced the funny thing with CLS :P That's a nice idea about redirecting to stderr instead of CON, will do some tests with it. Absolutely right about the cmd /q and prompt no longer necessary, the example was a little piece i wrote quickly. I alrea...
by Maylow
09 Oct 2019 11:45
Forum: DOS Batch Forum
Topic: Remove Microsoft header from cmd, for example when executing code from alternate data stream
Replies: 10
Views: 6377

Re: Remove Microsoft header from cmd, for example when executing code from alternate data stream

Thanks for that quick of response! Sorry, I wasn't implying it was only related to alternate data streams, you are right that the title might suggest it. I changed the title of this topic a bit. Your suggestions fixed the problem! Many thanks! :) I thought I had tested that, but it turns out I forgo...
by Maylow
09 Oct 2019 09:09
Forum: DOS Batch Forum
Topic: Remove Microsoft header from cmd, for example when executing code from alternate data stream
Replies: 10
Views: 6377

Remove Microsoft header from cmd, for example when executing code from alternate data stream

Hello everyone! This is my first topic post here on this forum, my apologies in advance for any errors on my part about the use of this forum (and maybe about my bad english ;) as it is not my native language (dutch here)). I am working on a project where I make use of alternate data streams. The go...