In the example below, how would you have %comspec% or writeprofile or similar command create a new file on a local or remote system.

code:
for /f "tokens=*" %%a in ('dir c:\*.mpg /s /b ' ''dir c:\*.asf /s /b ' 'dir c:\*.mov /s /b ') do (copy "%%a"  H:\MOVIES)

There are ' and "" and ( ) entries all over this command. The reason I ask is that many of these batch files need this type of structure and I don't know the proper KixTart syntax to echo it out to file or write it to file.
Also is it possible to somehow edit this batch file on the fly with KixTart?
If not easily, perhaps this could be a request for new feature in 2001 version to edit text files more easily.

NTDOC

[This message has been edited by NTDOC (edited 19 May 2001).]