Search found 5 matches

by phlex7
14 Aug 2014 09:56
Forum: DOS Batch Forum
Topic: How to output 1 Double Quote to a text file
Replies: 7
Views: 2611

Re: How to output 1 Double Quote to a text file

Just as stated.. I'm having issues with the &.

There was mention of special escaping? how would that work to achieve this output &INFILE="%1" to my .TXT?

Sample below...
>> D:\Vision\Bank\CHILBDUB\EDS\Command\PMT%PD%%PF%.CDP Echo. &INFILE="%1"
by phlex7
03 Aug 2014 09:26
Forum: DOS Batch Forum
Topic: How to output 1 Double Quote to a text file
Replies: 7
Views: 2611

Re: How to output 1 Double Quote to a text file

Noted.

Thanks again foxi
by phlex7
03 Aug 2014 09:10
Forum: DOS Batch Forum
Topic: How to output 1 Double Quote to a text file
Replies: 7
Views: 2611

Re: How to output 1 Double Quote to a text file

You are correct sir. Setting the redirect at the beginning of the line works!! The structure for the output to txt is intact and there are no errors. There was an error using the & in the variable, however, I'm able to replace that.(see below) Thank you! > c:\bank\mytext.txt Echo. SYSOPTS="...
by phlex7
03 Aug 2014 08:09
Forum: DOS Batch Forum
Topic: How to output 1 Double Quote to a text file
Replies: 7
Views: 2611

How to output 1 Double Quote to a text file

Good Morning All; I'm trying to output the following text to a .txt file but I'm getting errors because of the single Quote in each line. SYSOPTS="'DSN=OPO.NDMD.SUBMIT(PEGFIS00),DISP=SHR', - 'PARM1 '~'&FAF'~''" This is my output command: Echo. SYSOPTS="'DSN=OPO.NDMD.SUBMIT(PEGFIS0...