6741
Goto Top

Dateiinhalt per Batch in die Zwischablage kopieren

Hallo,

ich habe eine Text Datei dort befindet sich eine Zeile Text. Diese möchte ich per Batch in die Zwischenablage kopieren.

Wer hat ne Idee wie das geht???

Content-Key: 15080

Url: https://administrator.de/contentid/15080

Ausgedruckt am: 28.03.2024 um 22:03 Uhr

Mitglied: Biber
Biber 29.08.2005 um 14:25:24 Uhr
Goto Top
Moin, firewalldeifi,

geht nur mit Zusatztools. (Oder ein paar *.vbs-Zeilen)

Gibt sogar ein Freeware-Tool von M$ für den Zweck namens Clip.exe in den ResKits.
Clip.exe: Clip To Clipboard
This command-line tool copies text from the STDIN stream to the Clipboard. You can then paste the data directly into any application that can receive text from the Clipboard.

Als sonstige Freeware gibt es noch Tools, die CopyToClipboard heißen. Frag Dr. Google.


Syntax im Batch wäre dann:
type textdatei | clip
..dann ist die Textdatei auch in der Zwischenablage.
HTH Frank / der Biber aus Bremen.