Page 1 of 1
Copy via cmd.exe (Solved)
Posted: 24 Nov 2019 22:13
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)
Re: Copy via cmd.exe
Posted: 24 Nov 2019 22:48
by highend
I need it to better integrate XYplorer with AutoHotkey
Just send it a script via WM_COPYDATA?
Re: Copy via cmd.exe
Posted: 25 Nov 2019 12:18
by John_C
Sounds promising. Could you show some example?
Re: Copy via cmd.exe
Posted: 25 Nov 2019 12:24
by highend
Re: Copy via cmd.exe
Posted: 25 Nov 2019 14:55
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
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
Re: Copy via cmd.exe
Posted: 25 Nov 2019 15:06
by highend
Quoting is an art...
xy.png
Re: Copy via cmd.exe
Posted: 25 Nov 2019 15:14
by John_C
Yeah, exactly, thank you, this thread is solved.