Copy via cmd.exe (Solved)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
John_C
Posts: 336
Joined: 16 May 2018 20:04

Copy via cmd.exe (Solved)

Post by John_C »

Is it possible to copy files using the cmd.exe interface?

Something like

Code: Select all

xycopy.exe C:\Users\John\Desktop\file.txt C:\Backup\file.txt
I need it to better integrate XYplorer with AutoHotkey.

The main point that I need to preserve metadata (color labels, comments)
Last edited by John_C on 25 Nov 2019 15:14, edited 1 time in total.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy via cmd.exe

Post by highend »

I need it to better integrate XYplorer with AutoHotkey
Just send it a script via WM_COPYDATA?
One of my scripts helped you out? Please donate via Paypal

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Copy via cmd.exe

Post by John_C »

Sounds promising. Could you show some example?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy via cmd.exe

Post by highend »

One of my scripts helped you out? Please donate via Paypal

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Copy via cmd.exe

Post by John_C »

Thanks. It looks as a solution, but doesn't work currently. (Probably because of some changes in AHK or XY).

In the first post of that thread it is suggested to use

Code: Select all

"messenger.exe" ::msg Hello
Well, first of all it should be "Hello" (with quotes).

But in either case (with or without quotes) I receive an empty message.

Win7, XY 20.30, AHK 1.1.31.00

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy via cmd.exe

Post by highend »

Quoting is an art...
xy.png
xy.png (63.25 KiB) Viewed 853 times
One of my scripts helped you out? Please donate via Paypal

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: Copy via cmd.exe

Post by John_C »

Yeah, exactly, thank you, this thread is solved.

Post Reply