Hungary is to send buses to transport migrants to Austria's border after more than 1,000 began walking there earlier on Friday.
They left Budapest station on foot after a stand-off with police, defying official efforts to take them to reception centres and register them.