I'm trying to use the separate command but can't seem to get it working. Here's an example I'm using to illustrate my problems.
GetFileList>c:\test\*.*, files
Separate>files,;,file_names
Message>Num Files: %file_names_count%, %file_names_1%, %file_names_2%, %file_names_3%
In my c:\test directory, I have three files. When I step through my program, here's what I get in my watch list when I execute the first line.
FILES=c:\test\AUTOEXEC.BAT;c:\test\Daily Report 02-27-03.xls;c:\test\dailyreport.xls
That looks great. It's all the files I have in that directory. But when I run the second line (the Separate command), I get the following in my watch list.
FILE_NAMES_COUNT=1
FILE_NAMES_1=files
And my script won't work from there on out. It looks to me like the Separate command isn't doing it's job. The only thing I can think of is that I'm using NT 4.001381. I know it's not the optimal OS but I have to use it because of work.
If anyone knows why this command isn't working and/or how I can get it working, please let me know. Also, if anyone else has had problems using MS on NT, please let me know as I'm just getting to know this product.
Any help you can provide is greatly appreciated.
-Jose Basa
Separate Command not working??
Moderators: JRL, Dorian (MJT support)
Hi,
Can't reproduce on NT. We need to see your script to work out what is wrong. Please email your script to [email protected] and someone will take a look at it.
Can't reproduce on NT. We need to see your script to work out what is wrong. Please email your script to [email protected] and someone will take a look at it.
MJT Net Support
[email protected]
[email protected]
-
- Newbie
- Posts: 2
- Joined: Fri Feb 28, 2003 8:43 pm
THANKS!!
Sorry I'm so late in getting back but I tried Armstrong's suggestion and it worked. Thanks everyone for your help.