Search found 6 matches

by Kunal
02 Dec 2011 10:55
Forum: DOS Batch Forum
Topic: what is wrong with IF else, please help me
Replies: 7
Views: 7716

Re: what is wrong with IF else, please help me

not working either. let me explain what exactly I'm doing I have to FTP a file as CVAGUI.zip from remote server and uncompress it at local server and then compare with any previous date uncompresed file if , there is any difference in previous date and current date file then copy the new one to the ...
by Kunal
02 Dec 2011 09:54
Forum: DOS Batch Forum
Topic: what is wrong with IF else, please help me
Replies: 7
Views: 7716

Re: what is wrong with IF else, please help me

still not working , even I put the bracket on the same line, and added EnableDelayedExpansion , still no hope. any suggestions ??? It couldbe I'm doing somewhere wrong, but not able to debug..can I put some debug lines in this piece of code.
by Kunal
02 Dec 2011 07:54
Forum: DOS Batch Forum
Topic: what is wrong with IF else, please help me
Replies: 7
Views: 7716

what is wrong with IF else, please help me

Hello I'm trying to check if file already exist , then compare with another file and if any difference found then move that new file to new destination else do nothing. else move that file to the new destination as below but my bat script doesn't do anything it simply vanish, can anyone assist me wh...
by Kunal
02 Dec 2011 06:40
Forum: DOS Batch Forum
Topic: Help :: How to compare two files
Replies: 3
Views: 4084

Re: Help :: How to compare two files

no worries, that's a great start offcourse , thanks . I alreday tried that one, but anyway can you help me to refine my query further a bit my comp gives a whole lots of lines echo n | comp a.txt b.txt > out.txt like comparing a.txt with b.txt Files compare OK n now my question is how to find there ...
by Kunal
02 Dec 2011 05:18
Forum: DOS Batch Forum
Topic: Help :: How to compare two files
Replies: 3
Views: 4084

Help :: How to compare two files

dear All, I'm new to this batch world, so any help much appreciated. I have two files I need to compare those files and if there is differences may be in size, time modified then it will copy to other directory? I want to implment this in batch script so, any help will be really appreciated ? and if...
by Kunal
01 Dec 2011 04:48
Forum: DOS Batch Forum
Topic: Please help.......Problem in FTPing
Replies: 0
Views: 7014

Please help.......Problem in FTPing

Dear Gurus, I did try a lot options to get certain files in conventional DOS way but FTP couldn't recognize the pasword everytime. Cna anyone assist me , where it's going wrong? One method I have text file as FTPget.txt as below user username password bin cd /analytics/extracts/lcd P:\Data get cvagu...