tggkao526 Posted December 7, 2006 Report Share Posted December 7, 2006 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 - advanceAnd 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.