flat assembler
Message board for the users of flat assembler.

Index > Windows > cmd, bat vs asm ;-

Author
Thread Post new topic Reply to topic
semiono



Joined: 31 Aug 2007
Posts: 176
Location: section '.code' executable
semiono
this is smile track- topic for about availibilty great asm examples over scrits manipulations to grabbs it Very Happy ))
example1: (working cursor)
Code:
@Echo Off
Setlocal EnableDelayedExpansion
rem String lenth
Set len=84
Rem ShowMsg:
Set string="Hello World Hello World Hello World Hello World..."

For /L %%a In (1,1,%len%) Do (
     For %%I In (^| / - \) Do (
         Set /p X=%%I<Nul
         Call :Wait
      )
Set /p X=!string:~%%a,1!<Nul
)
Echo.
Echo Script is stopped...
Pause>nul
Exit

:Wait
rem Delay and speed parameters:
For /L %%a In (1,1,3000) Do Set a=1
rem nircmdc wait 100
rem Ping -n 1 localhost>Nul
GoTo :EOF
    

Howto get it to code?

example2: (search at background mask)
Code:
rem  usage: iFind.cmd ".exe .dll .ocx" %windir%\system32
DIR /B/A:-D "%~2"|FindStr /IVE "%~1"
    


carry on...

_________________
Memory=8388608
Post 17 Jul 2009, 18:26
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.