Thread View: gnu.g++.help
1 messages
1 total messages
Started by Gordon Keith
Thu, 28 Dec 1995 22:52
Re: building gcc 2.7.1 on DOS
Author: Gordon Keith
Date: Thu, 28 Dec 1995 22:52
Date: Thu, 28 Dec 1995 22:52
39 lines
1631 bytes
1631 bytes
On 22 Dec 95 at 13:02, Alexander Trump wrote: > Michael E. Wesolowski (mewesolo@freenet.calgary.ab.ca) wrote: > : I think that what I have to do for DOS is execute the command > > : for %filename in ($(files_to_move)) do move %filename stage1 > > IMHO no way. > `for' statement is processed in the batch files only. Wrong, DOS handles for statements fine from the command line. However the variable name can only be one character, environment variables are only expanded in batch files, and there is a 256? character limit. for %f in ( *.o ) do move %f stage1 will work fine at the command line (assuming you have a move command). In a batch file this would be: for %%f in ( *.o ) do move %%f stage1 > I'm afraid DOS won't like a line such long as $(files_to_move). True. -- gordon_kei@antdiv.gov.au --- gordonkeith@acslink.net.au Gordon Keith ,-_|\ Ph: +61 02 323 452 Programmer / \ Fax: +61 02 323 351 Marine Science Section \_,-._/ Australian Antarctic Division * http://www.antdiv.gov.au http://acslink.net.au/~gordonkeith (Standard disclaimer applies) LOVE: Bears all things, Believes all things, Hopes all things, Endures all things. 1 Corinthians 13:7
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads