Search
 
SCRIPT & CODE EXAMPLE
 

BASIC

dos/cmd equivalent to "head"

findstr /n "." myfile.txt | findstr "^.:"
Comment

dos/cmd equivalent to "head"

C:> netstat -an > temp.txt && for /l %l in (1,1,10) do @for /f "tokens=1,2* delims=:" %a in ('findstr /n /r "^" temp.txt ^| findstr /r "^%l:"') do @echo %b
Comment

PREVIOUS NEXT
Code Example
Basic :: visual basic how to determine if an array already contains an item 
Basic :: dos assign command output to variable (when output is a single line) 
Basic :: change c code to c++ online 
Basic :: how to dynamically change the font size of a button visual basic 
Basic :: shortcut to rename the file on lenovo s340 
Elixir :: elixir guard 
Elixir :: elixir replace string 
Elixir :: elixir map to new map 
Elixir :: elixir alias __module__ 
Elixir :: elixir string show inner binary 
Scala :: scala schemaPayload json 
Scala :: equivalent of spark datetype in scala 
Scala :: scala home set up 
Actionscript :: move records from table to another using knex migration 
Excel :: google query select first 10 
Excel :: excel get column number 
Perl :: perl loops 
Perl :: Perl (perl 5.28.1) sample 
Pascal :: pascal try except 
Powershell :: windows 10 debloat 
Gdscript :: godot find_node() 
Abap :: abap last row in loop 
Assembly :: x86 assembly hello world 
Assembly :: visual studio change assembly name 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery remove required attribute 
Javascript :: react refresh page 
Javascript :: javascript void(0) href 
Javascript :: get tomorrows date using moment 
Javascript :: random number between 0 and 3 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =