rejetto forum

FileBuilder is out!

rejetto · 17 · 49473

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i made this new utility: FileBuilder
i need it sometimes
you can find it at www.rejetto.com/sw



Kevin

  • Guest
Hi there,

I tried to run fb, there's only a dos window poped up and vanished quickly. Then nothing happened? Is that some spyware?

Regards,
Kevin


Offline Alexey

  • Tireless poster
  • ****
    • Posts: 363
    • View Profile
    • http://alexeyslav.nm.ru
Some BUGs in FileBuilder.

strToByte will be now: (what it work without modify?)

old function return negative without use trailing "K" "M" and "G".

Code: [Select]
function strToByte(s:string):int64;
  begin
  result:=-1;
  if s = '' then exit;
  case upcase(s[length(s)]) of
    'K': result:=1024;
    'M': result:=1024*1024;
    'G': result:=1024*1024*1024;
    end;
  if result > 1 then setlength(s, length(s)-1)
                else result := 1;                              // INSERTED HERE !!!
  result:=result*strToInt64(s);
  end; // strToByte

AND

where TO_ absent, system return error - TO_  = -1 => TO_ < FROM_  !!! It`s error.
(sample: copy|some file|10-  halted with error "Bad sequence format" )

strToRange will be now: (what it work without modify?)
Code: [Select]
 function strToRange(s:string; var from_,to_:int64):boolean;
  begin
  result:=TRUE;
  try
    from_:=strToByte(chop('-',s));
    if from_ < 0 then result:=FALSE;
    if s = '' then to_:=-1
    else to_:=strToByte(s);
    if to_ <> -1 then                                          // INSERTED HERE !!!
     if to_ < from_ then result:=FALSE;
  except
    result:=FALSE;
    end;
  end; // strToRange


Offline Alexey

  • Tireless poster
  • ****
    • Posts: 363
    • View Profile
    • http://alexeyslav.nm.ru
Kevin, it`s console application, read help.txt in arhive.
This program runs script files. How it build (script) ? - READ HELP.TXT !!!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i saw both bugs were already fixed in beta2, but beta2 has not been published... i just forgot it on my HD   8O

thank you anyway, i'm happy to see someone is digging my sources :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline ELEVENNNN

  • Tireless poster
  • ****
    • Posts: 257
  • havent been here lately, still wont be here?
    • View Profile
your a busy man, even though this was a long time ago, i got bored with my all day shift at night, on a day where I have nothing to do. scavaging the old forums posts and I have a good use for this!
This is going to take a long time
.................+...........................................
...................+.............+.................+.........
......................................


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
working only by script files is unhandy
it will be able to work just command line
i was doing it some days ago, then had to stop for other jobs


Offline ELEVENNNN

  • Tireless poster
  • ****
    • Posts: 257
  • havent been here lately, still wont be here?
    • View Profile
i'm all about command line Massimo (do I call you that or Rejetto?).. been doing unix for awhile and its just becoming native to me, plus its a challenge.. so many GUI based things arent right now.. yay for command line, I already like this and its been what ive been looking for for quite awhile. Why doesnt windows have a touch-like command??

-Kurt
This is going to take a long time
.................+...........................................
...................+.............+.................+.........
......................................


Offline ELEVENNNN

  • Tireless poster
  • ****
    • Posts: 257
  • havent been here lately, still wont be here?
    • View Profile
Kevin, I doubt you'll read this but just in case anyone else needs help, you want to pull up cmd and change directory to where fb is located, dont just double click it. Example would be. (Assuming you extract it to C:/fb)

start, run, type cmd (hit enter)
at the command line do the following
cd C:\fb
and then run the command with the syntax after:

fb <script syntax or whatever>

you could also put it in /windows/system32 and then do start, run, fb <script syntax or whatever>

-Kurt
This is going to take a long time
.................+...........................................
...................+.............+.................+.........
......................................



Offline ELEVENNNN

  • Tireless poster
  • ****
    • Posts: 257
  • havent been here lately, still wont be here?
    • View Profile
Your my hero, been looking for something that is native to my new unix-based thinking, keep pulling up cmd and typing linux commands, now i can for some! throwing in /system32 as lcmd :D

Thanks Rejetto, heard your song by the way on richards site, sounds suprisingly good. (Not just saying that, if it was bad I just wouldnt comment :)

-Kurt
This is going to take a long time
.................+...........................................
...................+.............+.................+.........
......................................


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
thanks
it's my first (and only) guitar song
i am/was a keyboardist
and i like Tool


Offline ELEVENNNN

  • Tireless poster
  • ****
    • Posts: 257
  • havent been here lately, still wont be here?
    • View Profile
when did i ask about tool? or did you get it from the screenname?

favorite band by the way

-Kurt
This is going to take a long time
.................+...........................................
...................+.............+.................+.........
......................................