By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!ffind ...pictures... | tpipe /simple=39 | head /n100 | for f in ( @con: ) copy %f otherfolder\
Nice! (except for piping to FOR)To avoid the issue of the random choice getting duplicates, you can use TPIPE:
Code:ffind ...pictures... | tpipe /simple=39 | head /n100 | for f in ( @con: ) copy %f otherfolder\
dir /a:-d /b | tpipe /simple=39 /head=0,0,100
dir /a:-d /b | tpipe /simple=39 /head=0,0,100 | copy @con: nul
@con => nul
TCC: (Sys) The system cannot find the file specified.
"@con"
0 files copied 1 failed
dir /a:-d /b | (tpipe /simple=39 /head=0,0,3 /output=clip: & copy @clip: foo)
@clip: => C:\CMakeUnitTestBuild\U_\WolfSSL\foo
TCC: (Sys) The filename, directory name, or volume label syntax is incorrect.
"@clip:"
0 files copied 1 failed
dir /a:-d /b | (tpipe /simple=39 /head=0,0,3 /output=clip: & do i=1 to 4 (echo %@clip[i%]))
浣歡彥湩瑳污浣歡䌊慍敫慃档硴൴戊極摬渮湩慪
浣歡彥湩瑳污浣歡䌊慍敫慃档硴൴戊極摬渮湩慪
浣歡彥湩瑳污浣歡䌊慍敫慃档硴൴戊極摬渮湩慪
浣歡彥湩瑳污浣歡䌊慍敫慃档硴൴戊極摬渮湩慪