Search found 475 matches

by SIMMS7400
16 Jan 2016 13:01
Forum: DOS Batch Forum
Topic: Copying across servers with tokens
Replies: 11
Views: 3174

Re: Copying across servers with tokens

foxidrive wrote:ctakacs didn't follow up in his previous thread here to say thanks or tell us he had a solution.

It's up to you guys but it may not be worth continuing this thread.



I don't have a solution yet.
by SIMMS7400
16 Jan 2016 08:35
Forum: DOS Batch Forum
Topic: Copying across servers with tokens
Replies: 11
Views: 3174

Re: Copying across servers with tokens

ShadowThief wrote:Pretty sure that would defeat the purpose of RSA tokens :wink:


Precisely - so is there a way around this?
by SIMMS7400
15 Jan 2016 22:10
Forum: DOS Batch Forum
Topic: Copying across servers with tokens
Replies: 11
Views: 3174

Re: Copying across servers with tokens

Squashman - That is correct. I was wondering how to establish that connection using a batch file. Normally, I would just pass the username and password via batch file as shown above. However, since my RSA password (token) changes every 30 seconds, how does one incorporate that into a batch file? Is ...
by SIMMS7400
15 Jan 2016 17:24
Forum: DOS Batch Forum
Topic: Copying across servers with tokens
Replies: 11
Views: 3174

Copying across servers with tokens

Good Evening - I have a need to copy files across servers, however at this particular client, we use tokens to log onto servers, which expire every 30 seconds. Is there a way to copy files using a batch file when using tokens? This is the script I use all other times when copying to another windows ...
by SIMMS7400
07 Jan 2016 14:00
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 5505

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

@echo off setlocal EnableDelayedExpansion REM This is to allow for variable editing within the for loop for /f "delims=" %%A in (test1.txt) do ( REM This loops through each line in test.txt REM and performs everything within () to the line REM which is held in %%A set a=%%A IF "%var:...
by SIMMS7400
07 Jan 2016 13:34
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 5505

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

@echo off setlocal EnableDelayedExpansion REM This is to allow for variable editing within the for loop for /f "delims=" %%A in (test1.txt) do ( REM This loops through each line in test.txt REM and performs everything within () to the line REM which is held in %%A set a=%%A IF "%var:...
by SIMMS7400
07 Jan 2016 13:29
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 5505

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

As far as the double quote - I'm not quit sure where you referring to?

Can I call out the ' symbol as I did or will this fail? Perhaps my single quote is whats throwing you off?
by SIMMS7400
07 Jan 2016 12:18
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 5505

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

@echo off setlocal EnableDelayedExpansion REM This is to allow for variable editing within the for loop for /f "delims=" %%A in (test1.txt) do ( REM This loops through each line in test.txt REM and performs everything within () to the line REM which is held in %%A set a=%%A IF "%var:...
by SIMMS7400
07 Jan 2016 10:51
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 5505

Re: Batch File to check second character of each string in .txt file : 50% complete - Need Help

Thank you for the tips! Unfortunately, I cant seem to get it fire. If it wouldn't be too much trouble, would you be able to show me how to use it?

Thank you.
by SIMMS7400
07 Jan 2016 07:56
Forum: DOS Batch Forum
Topic: Batch File to check second character of each string in .txt file : 50% complete - Need Help
Replies: 18
Views: 5505

Batch File to check second character of each string in .txt file : 50% complete - Need Help

Team - Before everyone says use Perl or POWERSHELL - I cant. I have a business need that requires me to develop a batch script to remove instances of the ' symbol from a text file as it's preventing a process from loading into our target systems. The catch is, however, the ' only needs to be removed...