File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: How can I copy a file to the clipboard with Xtree?

Posted By: Mathias Winkler <>
Date: Saturday, 30 May 1998, at 9:26 a.m.

In Response To: How can I copy a file to the clipboard with Xtree? (Andrew)

> When using Xtreegold in Windows95,
> does anyone know if it's possible to copy the file's contents
> to the windows clipboard when viewing the file in xtree?

If you run XTreeGold in a DOS-box, you can use the Win95 DOS-box-toolbar to mark parts of the current screen with the mouse and then copy the contents to the clipboard.

However, there is a more elegant way of copying file contents to the Windows clipboard from within a DOS program, but this requires the Shareware "4DOS" command shell replacement to be installed (see the link below).
4DOS provides a system variable called "CLIP:" to handle the clipboard from the command line.
So, if you are in XTreegold's file-view window, you can copy the contents of the current text-file by using Alt-'B'atch (XTG 2.5 and above) and entering:

type "%1">CLIP:

That's it.

Hope that helps

Mathias

>XTFP Aux.Apps - 4DOS entry

Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

 
---<>---
 
Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.


FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page