From: Michael Fellinger Date: 2005-10-26T01:38:58+09:00 Subject: Re: Windows Move/Dir with wildcards ? --nextPart4280033.NY1N2t0Whv Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline x =3D "./xmloutput/cacellations/" files =3D Dir.glob("#{x}*").entries `dir #{x}` files.each{|file| `move #{file} ./otherdir` } this is how i would do it... haven't tried it, and i haven't got a win-box = to=20 try it, but it should work... so long... manveru Am Dienstag 25 Oktober 2005 18:24 schrieb Peter Fitzgibbons: > Hello, > I'm trying to get this to work on WinXP/Win2003 : > > x =3D "./xmloutput/cancellations/*" > `dir #{x} ` > > `move #{x} "./otherdir" ` > > So far, the dir gives me "File not found". > > Thanks for your advice! > > Peter Fitzgibbons --nextPart4280033.NY1N2t0Whv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDXl+dMdQeL6eBxhIRAhpLAKCEvqfXrrkA/+BhE0Bg9FqJpZUYzwCg1daD bJNtI9K5myS2duoXSPvecGk= =F1Et -----END PGP SIGNATURE----- --nextPart4280033.NY1N2t0Whv--