rejetto forum
Software => rejetto-crafted software => Topic started by: rejetto on January 06, 2005, 02:04:07 PM
-
i made this new utility: FileBuilder
i need it sometimes
you can find it at www.rejetto.com/sw
-
nice!
-
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
-
Some BUGs in FileBuilder.
strToByte will be now: (what it work without modify?)
old function return negative without use trailing "K" "M" and "G".
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?)
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
-
Kevin, it`s console application, read help.txt in arhive.
This program runs script files. How it build (script) ? - READ HELP.TXT !!!
-
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 :)
-
ok, published
-
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!
-
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
-
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
-
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
-
massimo or rejetto is the same
enjoy this
http://sourceforge.net/project/downloading.php?group_id=9328&use_mirror=superb-east&filename=UnxUtils.zip&17897217
-
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
-
thanks
it's my first (and only) guitar song
i am/was a keyboardist
and i like Tool
-
when did i ask about tool? or did you get it from the screenname?
favorite band by the way
-Kurt
-
i am/was a keyboardist
;D i did not know you was a techno dude rejetto ;D :-*
-
1.0 beta 3 available at www.rejetto.com/sw/
what's new
+ command line scripts
+ for command "copy", if the sequence is omitted, the whole file will be copied
+ 4GB+ files support