¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Batch file operations


 

Hi Steve,
Thanks for looking at this.
The problem is that forfiles drops the output files into the same folder as the source files - like this.
Thus to use the join procedure one has to go through the whole list selecting every second (-COH) files. Very tedious and not good for a large number of egonets.
?
I have tried several ways of getting around this: e.g.
- Having the forfiles output with an prefix (Coh-) - No success.
- Incorporating a wildcard in the join command, after setting all IDs to six spaces, [join(AANetSoc_??????-COH)]
it didn't work.
BTW I also checked to see if the ? wildcard would work in place of the * wildcard in the forfiles procedure. It did not. SO there is something amiss there.
?
The optimum procedure would be to have the forfiles output go into a separate folder from the source files. I do this when doing analyses in the gui. Is it possible to do in a CLI command?
?

Join [email protected] to automatically receive all group messages.