Python Forum
How can I paste an entire file from clipboard to a folder?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I paste an entire file from clipboard to a folder?
#1
Hello,

I am making a script which works with non-text files.
I want to get the entire file, with name, extension, etc from the clipboard, and paste it at a given location.

Ex: User copies MyFile.dop, so now he has this file MyFile.dop in the clipboard. The script would get that file and paste it at C:\Program Files\here\.

How can I do that?
I haven't found anything useful on the internet so far.

Note: I am working on Windows 10.

Thanks!
Reply


Messages In This Thread
How can I paste an entire file from clipboard to a folder? - by daverave1212 - Feb-08-2020, 10:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Copy Paste excel files based on the first letters of the file name Viento 2 518 Feb-07-2024, 12:24 PM
Last Post: Viento
  Make entire script run again every 45 mo NDillard 0 361 Jan-23-2024, 09:40 PM
Last Post: NDillard
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 652 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  What script to paste folders thenewcoder 1 717 Nov-29-2023, 09:40 AM
Last Post: Pedroski55
  non-latin characters in console from clipboard Johanson 3 775 Oct-26-2023, 10:10 PM
Last Post: deanhystad
  Reading a file name fron a folder on my desktop Fiona 4 1,016 Aug-23-2023, 11:11 AM
Last Post: Axel_Erfurt
  Please help me [copy and paste file from src to dst] midomarc 2 1,069 Nov-24-2022, 10:13 PM
Last Post: midomarc
  Function not executing each file in folder mathew_31 9 2,402 Aug-22-2022, 08:40 PM
Last Post: deanhystad
  saving and loading text from the clipboard with python program MaartenRo 2 1,739 Jan-22-2022, 05:04 AM
Last Post: MaartenRo
  Dynamic File Name to a shared folder with open command in python sjcsvatt 9 6,265 Jan-07-2022, 04:55 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020