Search found 5 matches

by rabantot
14 Apr 2010 12:02
Forum: DOS Batch Forum
Topic: Problems with script which call another file
Replies: 16
Views: 17474

Re: Problems with script which call another file

I just tried putting the complete path to the Conexion.txt file and the results are the same. Or Could you please suggest me another way to put the files together and manages to use the WinSCP commands without incompatibility problems??? Thank you very much Regards, Rabantot Try to specify the full ...
by rabantot
13 Apr 2010 15:36
Forum: DOS Batch Forum
Topic: Problems with script which call another file
Replies: 16
Views: 17474

Problems with script which call another file

Hello, I would appreciate you guys could help me with this little problem. I have a application called WinSCP in order to download some files to one LAN server from another server (located in my DMZ). In order to automate the download process I created two files: The first one is a *.cmd file that c...
by rabantot
03 Sep 2009 23:01
Forum: DOS Batch Forum
Topic: Adding a prefix to a multiple files located in a folder
Replies: 5
Views: 29457

Hi

avery_larry, I tested the batch and I am afraid is not working properly It might be a sintaxis problem in some line, for instance where u define the variable prefix??? @echo off setlocal enabledelayedexpansion set "prefix=-BC0001_N" set prefix_length=9 set directory="c:\whatever you w...
by rabantot
03 Sep 2009 17:42
Forum: DOS Batch Forum
Topic: Adding a prefix to a multiple files located in a folder
Replies: 5
Views: 29457

Thanks a lot!!! :P

avery_larry, Thanks a lot for your help buddy. I tested it and works perfectly I have the last question about this: Let's suppose I have in a folder the following files -BC0001_N-file1.txt -BC0001_N-file2.xls -BC0001_N-files.ppt -resume.doc -salaries.xls How could I do in order to extract the prefix...
by rabantot
02 Sep 2009 17:46
Forum: DOS Batch Forum
Topic: Adding a prefix to a multiple files located in a folder
Replies: 5
Views: 29457

Adding a prefix to a multiple files located in a folder

I need some help in order to resolve this: In a folder I have multiple files and I need to add a prefix to all of them For example, cd c:\a (a=directory) inside a directory let's suppose I have 3 files file1.txt file2.xls files.ppt Finally I need the files keep in the same directory, but with a pref...