Search found 116 matches
- 24 Mar 2012 06:47
- Forum: DOS Batch Forum
- Topic: Need help badly here
- Replies: 3
- Views: 4023
Need help badly here
Hi All, I am having a hard time figuring this out, I hope someone can help me. This is the content of my text file: <?page i?> <para id="fm-P0"><figure id="F1"><graphic picfile="I9781285011929_0001"/></figure></para> <?page ii?> <?page iii?> <?page iv?> <?page v?> <?pag...
- 22 Nov 2011 19:04
- Forum: DOS Batch Forum
- Topic: Question, kindly answer
- Replies: 4
- Views: 5170
Re: Question, kindly answer
Hi Ed,
Thank for the idea.
What goes on my mind is while I'm processing the files, my batch file will create a summary report of the files being processed and on the next process execution, It will first check the files to be processed on that summary report.
Thank for the idea.
What goes on my mind is while I'm processing the files, my batch file will create a summary report of the files being processed and on the next process execution, It will first check the files to be processed on that summary report.
- 22 Nov 2011 18:08
- Forum: DOS Batch Forum
- Topic: Question, kindly answer
- Replies: 4
- Views: 5170
Re: Question, kindly answer
yes i know that command Ed but it seems not reliable.
- 22 Nov 2011 16:52
- Forum: DOS Batch Forum
- Topic: Question, kindly answer
- Replies: 4
- Views: 5170
Question, kindly answer
Hi All,
What's your approach here?
I am processing thousand of files everyday and I want to make sure that I am processing a unique file, some sort of duplicate check. How do you do it in batch file?
-renzlo
What's your approach here?
I am processing thousand of files everyday and I want to make sure that I am processing a unique file, some sort of duplicate check. How do you do it in batch file?
-renzlo
- 22 Nov 2011 06:15
- Forum: DOS Batch Forum
- Topic: Help...help...help
- Replies: 17
- Views: 15635
Re: Help...help...help
replace that section with this: :1 @echo off CLS color A echo. echo. echo. echo --------------------------------- echo Do you want to start uTorrent ??? echo --------------------------------- echo. echo MENU echo --------- echo 1= Yes echo 2= No echo. :menu2 set /p bang= Please select and press ENTE...
- 22 Nov 2011 02:47
- Forum: DOS Batch Forum
- Topic: Help...help...help
- Replies: 17
- Views: 15635
Re: Help...help...help
How about this: @echo off color C echo ------------------------------------------------ echo Did you connect external DRIVE for uTorrents ??? echo ------------------------------------------------ echo. echo MENU echo --------- echo 1= Yes echo 2= No echo. :menu1 set /p bang= Please select and press ...
- 22 Nov 2011 01:38
- Forum: DOS Batch Forum
- Topic: Help...help...help
- Replies: 17
- Views: 15635
Re: Help...help...help
if that's the case, try this: @echo off color C echo ------------------------------------------------ echo Did you connect external DRIVE for uTorrents ??? echo ------------------------------------------------ echo. echo MENU echo --------- echo 1= Yes echo 2= No echo. :menu1 set /p bang= Please sel...
- 22 Nov 2011 01:34
- Forum: DOS Batch Forum
- Topic: Dos function for search files
- Replies: 4
- Views: 5516
Re: Dos function for search files
hi programchen,
Ed already showed you how to do it:
from dir /? command:
/S Displays files in specified directory and all subdirectories.
so it should be:
dir /s /b "C:\*BEG*"
-renzlo
Ed already showed you how to do it:
from dir /? command:
/S Displays files in specified directory and all subdirectories.
so it should be:
dir /s /b "C:\*BEG*"
-renzlo
- 22 Nov 2011 01:16
- Forum: DOS Batch Forum
- Topic: Dos Command/Batch file to find a folder path & file size
- Replies: 8
- Views: 17875
Re: Dos Command/Batch file to find a folder path & file size
Hi pallavi_23,
In standard conversion, there are 1,000,000 bytes in 1 mb. Try to divide size by 1,000,000. The problem now is dos don't support decimal point.
-renzlo
In standard conversion, there are 1,000,000 bytes in 1 mb. Try to divide size by 1,000,000. The problem now is dos don't support decimal point.
-renzlo
- 22 Nov 2011 01:02
- Forum: DOS Batch Forum
- Topic: Help...help...help
- Replies: 17
- Views: 15635
Re: Help...help...help
Hi Kalop, You need to filter their choices or you might want to use choice commands. I've modified your code a bit. Please try: **************************************************************** @echo off @echo off color C echo ------------------------------------------------ echo Did you connect exte...
- 21 Nov 2011 10:55
- Forum: DOS Batch Forum
- Topic: I'm almost done, but now stucked in duplicate check.
- Replies: 13
- Views: 13354
Re: I'm almost done, but now stucked in duplicate check.
This is my suggestion for debugging your own code :- SET N=1000 ECHO Processing Directory "!fname!\*.*" >>SummaryReport_!petsa!.TXT for /f "tokens=1 delims=" %%G in ('dir /s /b "!fname!\*.*"') do ( set "contents=%%G" SET /A N+=1 ECHO !N! Processing %%G >> >>S...
- 20 Nov 2011 18:15
- Forum: DOS Batch Forum
- Topic: I'm almost done, but now stucked in duplicate check.
- Replies: 13
- Views: 13354
Re: I'm almost done, but now stucked in duplicate check.
Hi aGerman,
Thanks for the reply, I've closed it but it still writes the first line only.
Thanks for the reply, I've closed it but it still writes the first line only.
- 20 Nov 2011 16:47
- Forum: DOS Batch Forum
- Topic: I'm almost done, but now stucked in duplicate check.
- Replies: 13
- Views: 13354
Re: I'm almost done, but now stucked in duplicate check.
thanks alan, here's the code that mafunctioned: ::START DUPLICATE CHECK for /f "tokens=1 delims=" %%G in ('dir /s /b "!fname!\*.*"') do ( set "contents=%%G" if exist "SummaryReport_!petsa!.csv" ( findstr "!contents!" "SummaryReport_!petsa!.csv&q...
- 20 Nov 2011 15:28
- Forum: DOS Batch Forum
- Topic: I'm almost done, but now stucked in duplicate check.
- Replies: 13
- Views: 13354
Re: I'm almost done, but now stucked in duplicate check.
I apologize for my code ed, and thanks for the tip. My messy codes work by the way, I just don't get how to trigger a duplicate check based on the summary report created.
- 20 Nov 2011 10:35
- Forum: DOS Batch Forum
- Topic: I'm almost done, but now stucked in duplicate check.
- Replies: 13
- Views: 13354
Re: I'm almost done, but now stucked in duplicate check.
Thanks ed, this is now my current script: Please see the highlighted part, this is the duplicate check part, I'm wondering why the else command is not triggering, it triggers but it only write one line. @echo off color 1F mode con: cols=45 lines=14 title PEU v0.1 ::::::::::::::::::::::::::::::::::::...