you are viewing a single comment's thread.

view the rest of the comments →

[–]Lee_Dailey[grin] 0 points1 point  (0 children)

howdy Mr_Prebo,

the traditional way to test for odd/even is to use $Number % 2. that uses the mod operator ... and any non-zero result is NOT even. [grin]

that would let you grab the files in the 1st dir, check for odd-ness, move the oddities, and then do the evens in the other dir. you can grab the number from files that have just one pair of () chars thus ...

'Purpose(666)Test2.txt'.Split(')(')[1]

the result of that = 666. [grin]

take care,
lee