@instr where does it come from

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
pumi
Posts: 15
Joined: 05 Oct 2013 06:48
Location: Germany, BW

@instr where does it come from

#1 Post by pumi » 07 Oct 2013 01:04

Hello,
I tried a tool called "Take command"(a Batch IDE/debugger)
In the editor of this tool I can do the following:

Code: Select all

@echo off
set substr=%@instr[2,4,asdfghjkl]
echo %substr%

I'm now at work, without this tool and in a shell(cmd) this doesnt work.
Where is this "@instr" from? (there is many other command like this...)
Is this a shell enhancement or only works in this tool?
Anybody know that?

thank in advance, greetings pumi

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: @instr where does it come from

#2 Post by foxidrive » 07 Oct 2013 01:13

Take Command is a third party CMD replacement that has a very large number of enhancements over standard CMD.EXE

@instr is one of the enhancements.

It used to be known as 4Dos and 4NT in the past - the author has been working on these programs for a very long time.

pumi
Posts: 15
Joined: 05 Oct 2013 06:48
Location: Germany, BW

Re: @instr where does it come from

#3 Post by pumi » 07 Oct 2013 03:12

thanks for your help.

Post Reply