Search found 51 matches

by born2achieve
04 Jun 2015 18:21
Forum: DOS Batch Forum
Topic: File Prefix Help
Replies: 10
Views: 2814

Re: File Prefix Help

Hi Anto, Thanks for your reply and i cannot use cd /D D:\Sample. because i would be using the remote path where i have access. for example, i would be using the network path like below. Sorry that i didn't communicate about this. i thought of replacing the local path with n/w path would work. Any su...
by born2achieve
04 Jun 2015 13:21
Forum: DOS Batch Forum
Topic: File Prefix Help
Replies: 10
Views: 2814

Re: File Prefix Help

Hi Aacini, I tried your script and it doesn't cheking the file same already starts with "Sample_". Waht i did was, i tried to run the ba file first time and it sucessfully Added the prefix as 'Sample_". Then again i tried to run and it again added another prefix on top of it which is ...
by born2achieve
04 Jun 2015 13:13
Forum: DOS Batch Forum
Topic: File Prefix Help
Replies: 10
Views: 2814

Re: File Prefix Help

Hi Fox,

Below the command working for me that provided prior to my previous post

Code: Select all

FOR /f "delims=" %%F IN ('dir /B "D:\Sample\*.txt"')  DO (RENAME "%%F" "Sample_%%F")
by born2achieve
04 Jun 2015 08:19
Forum: DOS Batch Forum
Topic: File Prefix Help
Replies: 10
Views: 2814

Re: File Prefix Help

Thanks a lot guys. it worked. is there any way to check if the already starts with "Sample_" and skip in that case adding the prefix.

Thanks
by born2achieve
03 Jun 2015 18:21
Forum: DOS Batch Forum
Topic: File Prefix Help
Replies: 10
Views: 2814

File Prefix Help

Hi, I need to add the prefix to the files in specific directory. For this i need to input the directory name. I need to add the prefix "Sample_" to all the txt files in the specified directory Sample code i tried: FOR /f "delims=" %%F IN ("D:\Sample\*.txt") DO (RENAME &...
by born2achieve
06 Mar 2015 12:41
Forum: DOS Batch Forum
Topic: File Transfer
Replies: 9
Views: 1788

Re: File Transfer

Perfect SiverHawk and Squashman,

I downlaod the exe from below path. Please advice me is that fine to move forward to test the code provided by SilverHawk.

http://winscp.net/download/winscp570.zip
by born2achieve
06 Mar 2015 09:32
Forum: DOS Batch Forum
Topic: File Transfer
Replies: 9
Views: 1788

Re: File Transfer

Hey Guys, Hey Squashman and SilverHawk thanks for your suggestion. I also browsed through winscp. Should i need to install this in my server? Because i shouldn't install the third party software on my server. Hey Fox, Basically i need to upload file from one FTP server to another FTP using SFTP. Onc...
by born2achieve
05 Mar 2015 21:08
Forum: DOS Batch Forum
Topic: File Transfer
Replies: 9
Views: 1788

File Transfer

hi, I have two FTP servers namely SampleFTP1(public FTP) and SampleFTP2 (private FTP) Both are SFTP enabled. Lets take an example, I need to copy the text file from SampleFTP1 path C:/TestData/Test.txt and wanted to transfer to SampleFTP2 path /InputFile/Test.txt. Right now i am suing filezilla to d...
by born2achieve
05 Mar 2015 20:39
Forum: DOS Batch Forum
Topic: DOS command in batch file
Replies: 4
Views: 1359

Re: DOS command in batch file

Hi Squashman, i did try that already. the last scripts throws an error. below the error: '"c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Aspnet_compiler.exe -v / -p "E:\Sample\Myproject\Src" -u -f E:\BuildOutput\"' is not recognized as an internal or external command, if i copy...
by born2achieve
05 Mar 2015 20:22
Forum: DOS Batch Forum
Topic: DOS command in batch file
Replies: 4
Views: 1359

DOS command in batch file

Hey Guys, I have 3 DOS scripts that has to be merged into one .bat file . Basically i am trying to clean the temp files and getting the svn update and compiling and publishing the .net webapplication. below are my individual scripts. to clean the file : @echo off echo *** Deleting ASP.NET temporary ...
by born2achieve
26 Feb 2015 08:37
Forum: DOS Batch Forum
Topic: Help Needed in Batch script
Replies: 5
Views: 1182

Re: Help Needed in Batch script

thank you fox for the tip.
by born2achieve
26 Feb 2015 06:34
Forum: DOS Batch Forum
Topic: Help Needed in Batch script
Replies: 5
Views: 1182

Re: Help Needed in Batch script

Hi Shadow and Fox, thanks for your reply . I could download the image which is hosted on external server outside of my state. but the process is slow. I enabled spider web on my machine. Is there anythinf to be done with Spider web can help me speeding up this? The below sample only checks the only ...
by born2achieve
25 Feb 2015 21:19
Forum: DOS Batch Forum
Topic: Help Needed in Batch script
Replies: 5
Views: 1182

Help Needed in Batch script

Hi,

I have 1000 image url in my text file(sample.txt) and i want to download the images using the url. Can anyone please share with me the sample script which can do this in single shot.

Also, is there any way to reduce the size of the image into 20/20 px with png extension.

Thanks
by born2achieve
15 Feb 2015 08:54
Forum: DOS Batch Forum
Topic: Help Needed in Text File
Replies: 6
Views: 1570

Re: Help Needed in Text File

Hi Shadow, your solution worked perfectly. thank you.

thanks everyone who participated on this post.
by born2achieve
14 Feb 2015 23:43
Forum: DOS Batch Forum
Topic: Help Needed in Text File
Replies: 6
Views: 1570

Re: Help Needed in Text File

Hi Squashman,

I did copy your code and created .bat file and executed. id didn't do anything. no reaction. actually i supposed ot get a output file with file names where the keyword exists.

Any help plesse