Cannot launch IDE by clicking on pjt file

Questions and discussion about the ZBasic IDE.
Post Reply
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Cannot launch IDE by clicking on pjt file

Post by stevech »

when I click on a ZBasic ".pjt" file, the IDE does run, but it pops up the dialog enclosed. I click OK on two of these and the IDE winds up without my project files.

If I run ZBasic first, then use the Project OPEN menu on that same pjt file, everything is fine.

It's as if the file association/registry is hosed.
Attachments
IDEdialog.jpg
IDEdialog.jpg (16.89 KiB) Viewed 7774 times
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

The part of the path shown suggests that the .pjt file is in a directory below 'C:\Documents and Settings'. If that is true, there is probably an issue with the space in the path that needs to be corrected.
- Don Kinzer
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Post by stevech »

yes, the path is a folder on the Windows desktop so there are spaces in the pathname
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

A workaround for this problem requires editing the command associated with the .pjt extension. The parameter supplied to the command currently is:

Code: Select all

-project:"%1"
The temporary solution requires moving the opening quote:

Code: Select all

"-project:%1"
I can post a step-by-step procedure for making this change for XP.
- Don Kinzer
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Post by stevech »

that did it!
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Post by stevech »

Don

re the above - this new release may have the quote mark where you did not want it? with the newest release, I get an error from the IDE (file cannot be opened) if I choose a pjt file from the recently used list, but one with a space in the file pathname.
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

I can't seem to reproduce this - can you provide more detail? I gather that you're selecting an entry on the MRU list on the Project menu of the IDE, one with a space in some part of the path.
- Don Kinzer
Post Reply