April 20, 2024, 01:13:32 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


IWB editor open file

Started by Andy, November 04, 2019, 07:18:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi,

I was wandering is there a way to make the IDE open a file then same way we can open say notepad?

SYSTEM "C:\\IWBDev3\\Bin\\IWBDev.exe" , "c:\\Test\\SubTest\\1.iwb"

This just opens another copy of the IDE, but doesn't open the file 1.iwb

Thanks,
Andy.
 :)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Egil

Andy,

If IWB is installed on your PC (not on an USB-stick), this works when the file you want to edit is in the same directory:

SYSTEM getstartpath + "test.iwb"
Maybe some experimentation with inserting the path instead of using getstartpath will lead you to a solution?


Good Luck!

Egil
Support Amateur Radio  -  Have a ham  for dinner!

Andy

Thanks Egil,

Will try tomorrow, email me and we can have a carch up.

Andy
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Egil

This is almost identical to your example in the first post, and it works:
string a$ = "D:\\MyIWB\\tmp\\test.iwb"

SYSTEM a$

I'll contact yoy by mail later today..



Egil
Support Amateur Radio  -  Have a ham  for dinner!

Andy

Egil,

Sorry, thanks just seen your post.

I tried:

SYSTEM "explorer.exe" , "C:\\test\\subtest\\test.iwb"

And it works on my Win7 32 bit machine.

Also it works even if your IDE is not open.

Andy.
 :)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.