Jump to content

How to use the "Editing action for type" options<br />


tggkao526
 Share

Recommended Posts

Here's the problem.

I have a palm and I use it as a ebook reader.

on my laptop running windows xp, I have 'makeztxt.exe'. What it does is converts a wide range of documents so my palm can display it.

What I want is so when I right click a .txt file, I'll get the command "Convert to ztxt".

So I went into folder options - file types - txt - advance

And I clicked new, then in the dialogue, under action I wrote "Convert to ztxt"

and in the command box, I typed "D:\Downloads\Application\Palm\makeztxt.exe" "%1"

This worked out fine, but I met a trouble, My palm doesn't display the title at all, it just shows a blank space followed by type, size... After some research, I found out that the title tag (-t) is nessary, so I changed the command to :

"D:\Downloads\Application\Palm\makeztxt.exe" -t "%1" "%1"

Now my palm can read it, but the title displayed is the long file name like "D:\Entertainment\Ebook\Ender's game.txt"

Now here's the question, what variable do I use instead of '%1' to get the filename (Not the long one) like

"Ender's game.txt"?

If it is possible to get just "Ender's game" it would be better.

please respond.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy