Search found 6 matches

by dutch
30 Oct 2012 21:55
Forum: DOS Batch Forum
Topic: User input: Problems with pasting multi-line strings
Replies: 15
Views: 6788

Re: User input: Problems with pasting multi-line strings

Right now I'm focusing on trying to research what each line of the script is doing (I majored in Networking with a focus on routing and switching so I'm mostly self taught in terms of coding) but let me see if I got this straight (and please correct me if and when I am wrong as I truly do want to le...
by dutch
30 Oct 2012 21:06
Forum: DOS Batch Forum
Topic: User input: Problems with pasting multi-line strings
Replies: 15
Views: 6788

Re: User input: Problems with pasting multi-line strings

Thank you for your input, it is appreciated. To be honest I am not very familiar with windows scripting. Your initial script you provided, what is the premise behind it and do you know of any good online resources I could use to better understand it? Now that I know it can be done via a script I am ...
by dutch
30 Oct 2012 20:55
Forum: DOS Batch Forum
Topic: User input: Problems with pasting multi-line strings
Replies: 15
Views: 6788

Re: User input: Problems with pasting multi-line strings

Assuming the line count never changes for that bit-length I suppose I could utilize multiple set statements but If there is a way to force the carriage returns to be ignored for the user entry that would be preferable to stream-line this a bit.
by dutch
30 Oct 2012 20:46
Forum: DOS Batch Forum
Topic: User input: Problems with pasting multi-line strings
Replies: 15
Views: 6788

Re: User input: Problems with pasting multi-line strings

We can suggest different ways to do something if the task is clear and limitations spelled out. I feel like I pretty much covered that with If I just type some test text in the first prompt, everything goes smoothly, but DKIM private keys aren't just one line. They also have character limits per li...
by dutch
30 Oct 2012 20:08
Forum: DOS Batch Forum
Topic: User input: Problems with pasting multi-line strings
Replies: 15
Views: 6788

Re: User input: Problems with pasting multi-line strings

I'm aware that it contains multiple lines. What I want to know is if there is a way to wrap an entire entry in something or a command to say "all these lines are one entry". For example when working in some DNS servers if you type key1=rsa; p=;lsfja98233lndsfaj\s;fjj without explicitly wra...
by dutch
30 Oct 2012 17:12
Forum: DOS Batch Forum
Topic: User input: Problems with pasting multi-line strings
Replies: 15
Views: 6788

User input: Problems with pasting multi-line strings

Hello everyone, First post here and fairly new to putting batch files together and up front, thank you for any help I receive. I work for an ESP and regularly set up DKIM records for clients. In an attempt to automate some of the tedious stuff I want to put together a batch. I have the entire file w...