$Bill Luebkert wrote:
Did a little searching and came up with this to replace the above 2 lines :
for /F "usebackq" %%i in (`perl find_dir.pl %1`) do cd %%i
Cheers - that does the trick. I was trying to look for a way of
putting the result of a command into a variable.
A slight refinement I found I needed - the above version stumbled on
files involving spaces ...
for /F "usebackq delims=," ....... as before
I am assuming the "," is not a valid character in a filename.
Thanks again for the very useful hint.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs