How to make button to create new folder with name PDF

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
beb
Power Member
Power Member
Posts: 580
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: How to make button to create new folder with name PDF

Post by *beb »

jeee_michel wrote: 2023-04-13, 19:46 UTC ...i guess its safe to remove pause from the end of param= ?
Sure! "Pause" to be there just for "debugging" purposes. Since the command works as intended it's no longer needed.
So, you can safely remove ";pause" part.
You also can just to disable it by putting the "#" comment mark in front of it [;pause -> #;pause]
Thus, the final version of the command can be as compact as follows:

Code: Select all

[em_pdf_selected]
cmd=Powershell -ExecutionPolicy Bypass; set bin -value "C:\CMYK.exe";
param=Get-Content "%L"|ForEach-Object -process {& $bin $('"""'+$_+'"""')}
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
User avatar
beb
Power Member
Power Member
Posts: 580
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: How to make button to create new folder with name PDF

Post by *beb »

jeee_michel wrote: 2023-04-13, 19:43 UTC ...here is the exe which should work for anyone who has acrobat DC https://we.tl/t-XZZSOsfO7g
Luckily, I don't need any monstrous Adobe products professionally so regarding the requirements there's no chance for me to see in person the "CMYK.exe" running :D
Thank you, though.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
jeee_michel
Junior Member
Junior Member
Posts: 13
Joined: 2022-04-19, 15:04 UTC

Re: How to make button to create new folder with name PDF

Post by *jeee_michel »

Yeaah Thanks a lot for commands xD
Post Reply