@Aurel:
1. How come your screenshot shows
two files called "scriba.conf" in one and the same directory?
Go to the Windows Explorer settings (they should be somewhere near your main menu settings on right-clicking the Start orb IIRC) and make it show filename extensions and hidden and system files and everything else. It's supposed to be a coder's PC, after all, not a lamer's one.
2. No, ShellExecute() will only work if:
2.1. The ".sb" document's MIME type is bound with the Scribaw executable.
2.2. All the paths for the SriptBASIC installation are properly written to the Windows environment variables.
2.3. ScriptBASIC doesn't require special or particular options to launch a .sb script for execution.
3. Try to do what John says in the following sequence:
3.1. Copy your test script to the
C:\SB22b2_Win32\bin directory.
3.2. Open up your console.
3.3. Type "
c:" then type "
cd c:\sb22b2_win32\bin". This will make this directory your working directory. Simple browsing it in the Explorer doesn't work for the console.
3.4. Type "
scribaw your_test_filename_with_extension_here" to launch the script file for execution.
3.5. Always change your console path to the working directory before issuing any console commands on any platform you use.
@John:
Was I correct with the last command here? Please correct me if not. I'm currently under Mac OS X and can't check it "live".