[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: asc2ms CMD utilities - batch conversion?



PureBytes Links

Trading Reference Links

Hi there,

I have never used Mansoor's utility, but maybe you can create a batch
file using the dir command.  Do something like

dir /b *.txt > x.bat

in the directory where you want to convert a lot of *.txt files to MS.
 Now edit the

x.bat

file that this creates, which will have one file per line that you
want to convert.  Just add the command to each line.  It is easy to
do, you can even use search and replace to speed it up (maybe replace
say '.csv' with '.csv -arg1 -arg2' if you have to add command line
arguments.

Then, run the batch file!

Regards
MG Ferreira
TsaTsa EOD Programmer and trading model builder
http://www.ferra4models.com
http://fun.ferra4models.com 


--- In equismetastock@xxxxxxxxxxxxxxx, "mmbbrr79" <markyboy5@xxxx> wrote:
> Hello all:
> I am wondering if anyone has been able to perform batch conversions on 
> ASCII files using Mansoor's asc2ms.exe command line utility.  The 
> conversion itself works perfectly with this tool, except that one is 
> required to enter securities one by one.  Is there a way to convert an 
> entire folder or group of files all at once?  
> Thanks in advance,
> - M




------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/