Search found 11 matches

by xxgeek
Sun Mar 17, 2024 1:50 pm
Forum: BASIC code examples
Topic: NEW > Quick EXE for Just Basic v2.0 & Liberty Basic 4.5.1
Replies: 0
Views: 123

NEW > Quick EXE for Just Basic v2.0 & Liberty Basic 4.5.1

The following code will create EXE files from a Selected .bas file using LB Booster. Each EXE file is appended with the date/time and placed in a folder named BAS2EXE which is created in DefaultDir$ on first use. Then Explorer opens to the location of the new EXE file. Please read the top of the cod...
by xxgeek
Fri Mar 08, 2024 1:39 pm
Forum: General Board
Topic: A file delete it's self. How to?
Replies: 8
Views: 367

Re: A file delete it's self. How to?

Just to add some more info on this....... The syntax for Liberty Basic is a little different than for LB Booster, The Liberty Basic syntax will work with LB Booster as well as Liberty Basic The LB Booster syntax will not work with Liberty Basic. Syntax errors with quotes in quotes. I wrote this litt...
by xxgeek
Thu Mar 07, 2024 2:55 pm
Forum: General Board
Topic: A file delete it's self. How to?
Replies: 8
Views: 367

Re: A file delete it's self. How to?

Something like this might work, although I've not tried it:

Code: Select all

RUN "cmd.exe /C timeout /t 10 > NUL & del /f /q ""\mypath\myprog.exe"""
END
I have tried this and can confirm it works.
Thanks for posting this. It will be of use to me in future.
by xxgeek
Thu Feb 01, 2024 4:11 pm
Forum: BASIC code examples
Topic: BAS<2>EXE - Convert .bas files to exe (3 methods)
Replies: 0
Views: 817

BAS<2>EXE - Convert .bas files to exe (3 methods)

P.S. IMPORTANT - Before running - Place file in it's own Folder. Many files and Folders will be created. BAS2EXE v1.9.2c with commandline support for Liberty Basic is a program I have been working on since my first days with Just Basic v2.0 approximately 2 years ago. I have been adding features to i...
by xxgeek
Thu Feb 01, 2024 2:45 pm
Forum: General Board
Topic: Posting test
Replies: 1
Views: 805

Re: Posting test

Working again.

Thanks Richard
by xxgeek
Tue Dec 05, 2023 1:57 pm
Forum: BASIC code examples
Topic: Automate the Creation of the EXE File
Replies: 3
Views: 4025

Re: Automate the Creation of the EXE File

I just lucked onto a better more reliable way to verify the created exe file. It removes the 9 second pause, and replaces it with a second verification loop. I also commented the line to kill the created .vbs file. Why keep writing the same file over and over, and deleting it. Also once the exe file...
by xxgeek
Tue Nov 28, 2023 6:06 pm
Forum: Compatibility with LB4
Topic: LB TKN file
Replies: 7
Views: 10836

Re: LB TKN file

Thanks!

Small TKN file sent to info@rtrussell.co.uk

Good luck :)
by xxgeek
Tue Nov 28, 2023 5:04 pm
Forum: BASIC code examples
Topic: Automate the Creation of the EXE File
Replies: 3
Views: 4025

Re: Automate the Creation of the EXE File

I think I'm right in saying that if there's an existing EXE (in the default location) the various fields in the Compile dialog are automatically populated from that file, which hopefully simplifies things. I'll need to do some research on "the various fields in the Compile dialog" Also wo...
by xxgeek
Tue Nov 28, 2023 5:00 pm
Forum: Compatibility with LB4
Topic: LB TKN file
Replies: 7
Views: 10836

Re: LB TKN file

Thanks for the quick reply. The reason I would like to have it working is because over time I have lost, or due to bad code inadvertently deleted, some of my .bas files, but for some I still have the TKN. Having a Pro license does not give me rights to use the non - Pro version. I wish I knew all th...
by xxgeek
Tue Nov 28, 2023 2:35 pm
Forum: Compatibility with LB4
Topic: LB TKN file
Replies: 7
Views: 10836

Re: LB TKN file

LBB doesn't seem to be able to open a tkn file created by LB Pro v4.5.1.

Getting this message when trying..
"User Name or Password is invalid for TKN file"

Not designed for Pro?