Search found 6 matches

by yarnseeker
11 Jun 2010 08:52
Forum: DOS Batch Forum
Topic: string concatenation in a for loop
Replies: 6
Views: 15631

Re: string concatenation in a for loop

awesome! that worked perfectly. thanks so much ya'll :) :mrgreen:
by yarnseeker
10 Jun 2010 12:01
Forum: DOS Batch Forum
Topic: string concatenation in a for loop
Replies: 6
Views: 15631

Re: string concatenation in a for loop

the concatenation doesn't appear to work in a for loop. this also doesn't appear to work. I want to be able to spool out any number of items but lordy dos doesn't appear to be very flexible and neither does ftp. fine for really simple things but looping constructs etc are very lacking. @echo on setl...
by yarnseeker
09 Jun 2010 13:42
Forum: DOS Batch Forum
Topic: string concatenation in a for loop
Replies: 6
Views: 15631

Re: string concatenation in a for loop

Well the call version worked except that I still cannot concatenate the text. ascii GET 'HLQ.TEST.SOURCE(QAHX5301)' QAHX5301.TXT GET 'HLQ.TEST.SOURCE(QAHX5302)' QAHX5302.TXT ... My file has the above. I wanted to concatenate the ftp commands into 1 variable. I tried sending a big bunch of commands u...
by yarnseeker
09 Jun 2010 12:48
Forum: DOS Batch Forum
Topic: string concatenation in a for loop
Replies: 6
Views: 15631

string concatenation in a for loop

I'm trying to build an FTP script where I don't have to store the userid and password. The below worked just fine EXCEPT that I now want to be able to transmit like 20+ files. http://www.dostips.com/forum/viewtopic.php?f=3&t=1078&p=3695&e=3695 I thought I'd save the file commands separat...
by yarnseeker
04 Jun 2010 09:53
Forum: DOS Batch Forum
Topic: FTP from pc to mainframe without having to store password
Replies: 2
Views: 4655

FTP from pc to mainframe without having to store password

I have an ftp script and it works just fine but I need to know IF it is possible to somehow make the userid and password get PROMPTED or PASSED when running my .BAT file. I know how to get the userid and password in my .BAT file and I see that they can be written out and then passed to FTP but that ...