Dean's Questions Topic >> 25.04.2017

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Dean36
Posts: 29
Joined: 27 Jan 2015 10:50

Dean's Questions Topic >> 25.04.2017

Post by Dean36 »

I have changed the themanamen to avoid topic spam!

Can someone tell me how I start PyCMD with CTB in the current path?



@SammaySarkar, Thanks Thanks Thanks! Works great but deletes the file then unfortunately not?! :)

Old questions
Dean36 wrote:It is possible with CMD several * .txt to copy into a * .txt

copy *.txt all.txt

Is this possible as script? like:

copy *.log all.txt (delete all *.log?)


please help me :)
Last edited by Dean36 on 25 Apr 2017 00:14, edited 2 times in total.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: CMD copy Command as script?

Post by bdeshi »

Code: Select all

::$target = 'all.txt'; foreach ($file, <get selecteditemspathnames '|'>) {writefile($target, readfile($file), 'a'); /*delete , 0, $file;*/}
You can run this directly from XYplorer's address bar. Just paste and press ENTER.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Dean36
Posts: 29
Joined: 27 Jan 2015 10:50

Re: Dean's Questions Topic >> 25.04.2017

Post by Dean36 »

Edit: NOW MY TOPIC FOR QUESTIONS! :D

Post Reply