Search found 105 matches

by aaksar
18 Apr 2013 22:26
Forum: DOS Batch Forum
Topic: Move from FTP and count in Target folder automated
Replies: 159
Views: 105686

Re: Move from FTP and count in Target folder automated

I hv changed all the things, but it was not working .
but when i run thro CMD with actual values its working fine......

seems like its not be able to append varriable in username/pswd/hostname

I have tried other seq also , but still not working
by aaksar
18 Apr 2013 07:49
Forum: DOS Batch Forum
Topic: Move from FTP and count in Target folder automated
Replies: 159
Views: 105686

Re: Move from FTP and count in Target folder automated

"%FTPapp%" %~3@%~2 -pw %~4 -P %~5 -b "%temp%\%~9\commands_1.ftp" >"%temp%\%~9\dump.log" above code is not executing properly, seems like its not be able to append var. when i am doing this thing on cmd with actual value its working fine. but with these variables its no...
by aaksar
18 Apr 2013 01:55
Forum: DOS Batch Forum
Topic: Move from FTP and count in Target folder automated
Replies: 159
Views: 105686

Re: Move from FTP and count in Target folder automated

Hi,My FTP location is replaced with SFTP i am making changes in script. to run it through command prompt I am using PSFTP so when i am taking the file list into 1 temp file its giving me error , I have tried different ways , but its not working ssh_init: Host does not exist file contents -P 2200 65....
by aaksar
12 Mar 2013 15:03
Forum: DOS Batch Forum
Topic: Remove New line Char from Text file
Replies: 33
Views: 29667

Re: Remove New line Char from Text file

any other script by which i can remove it, or i can split it in 2-3 parts
by aaksar
12 Mar 2013 11:01
Forum: DOS Batch Forum
Topic: Remove New line Char from Text file
Replies: 33
Views: 29667

Re: Remove New line Char from Text file

and 1 more thing.... while giving error" out of memory" its making my data file 0 byte....
by aaksar
12 Mar 2013 10:59
Forum: DOS Batch Forum
Topic: Remove New line Char from Text file
Replies: 33
Views: 29667

Re: Remove New line Char from Text file

I have 32 GB RAM on my server and still getting the same error., dont know why.

it was working fine on 200 mb file.
by aaksar
12 Mar 2013 04:56
Forum: DOS Batch Forum
Topic: Remove New line Char from Text file
Replies: 33
Views: 29667

Re: Remove New line Char from Text file

Hi when i am running this script is giving me error " out of memory"

any resolution for this " file size is 800 mb
by aaksar
08 Mar 2013 01:25
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

yeah......
i think thro java Script can we do this? and later cala JS in Batch
by aaksar
07 Mar 2013 23:09
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

here is the link of file, its a comma delimeted, but i hv fixed width also

https://www.dropbox.com/s/8c0y906ceonsq3u/XY_110A_CONTRACT
by aaksar
07 Mar 2013 23:04
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

@aaksar: - A file is a series of lines/records, each one terminated in CR+LF. - If your file have several CR+LF embedded in one record, then THERE IS NO WAY to fix your problem, unless there is a way to distinguish the "real" CR+LF that terminate normal records from the additional CR+LF t...
by aaksar
07 Mar 2013 21:19
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

Mine is txt file,
by aaksar
07 Mar 2013 10:44
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

actually there is 1 description filed in the file.

and in that field user has entered value and then enter and 2nd value enter 3rd value..

its a free text field.

so that column value is coming in multiple line with CRLF. i need to remove the CRLF from that column only.
by aaksar
05 Mar 2013 23:02
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

below is 1 line, but 3 CRLF is coming in/bw, RED color one is the 1 column but coming in 3 lines and with 2 CRLF, "0711105","11","00000","119",2010-05-03-22.13.00.000000,"119",2012-12-12-12.13.00.000000,"M15",08/01/2008,"13",07/15...
by aaksar
05 Mar 2013 05:46
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

Actually Its coming in 1 Line,
by aaksar
05 Mar 2013 03:23
Forum: DOS Batch Forum
Topic: How to remove CR/LF in between the line
Replies: 26
Views: 32106

Re: How to remove CR/LF in between the line

Hi ,

Its removing the CRLF but if my line contain 2 CRLF its removing 1, it should remove CRLF which are comin in the middle of line, and Its removing CRLF which are coming End of the line also