biterScripting script error

November 4, 2010 at 07:27:11
Specs: Windows 7, AMD Athlon 64 X2 Dual
I get error using the following script in biterscripting

# Collect a list of input .svgb files from \folder1.
var string inputlist; lf -n "*.svgb" "\folder1" > $inputlist
# Chage current directory to output directory.
cd "\folder2"

# Process input files from list one by one.
while ($inputlist <> "")
# Get the next input file.
var string input; lex "1" $inputlist > $input

# Input file name is in full path, extract just the file name into $output.
var string output; stex "^/^l[" $input > $output

# Decode file using svgb.exe.
svgb.exe ("\""+$input+"\"") ("\""+$output+"\"")
# We are wrapping $input and $output in case file names/paths contain spaces.


and error is:
Error 602: Command svgb.exe at position 2 is not recognized.

I don't know what is missing or wrong

I almost forgot to say that I found this script across the Internet but what I need to do is to convert .svgb files into .svg (to be editable) using svgb.exe. This tiny program uses the following script to do the job

svgb.exe "Entry01.svgb" "Entry01.svg"
svgb.exe "Entry02.svgb" "Entry02.svg"

But for entering 1000 svgb file names to be converted that would be .......

So I am trying to do the conversion as batch and need your help.

See More: biterScripting script error

Report •

November 9, 2010 at 08:14:18

Use the system command to call an executable or DOS commands. (Just add the word system before svgb.exe.)

Change the line of code

svgb.exe ("\""+$input+"\"") ("\""+$output+"\"")


system svgb.exe ("\""+$input+"\"") ("\""+$output+"\"")

Documentation at .

Report •
Related Solutions

Ask Question