Love is there as a side effect of running the entire post through Google Translate.
Ame is Portuguese for love, apparently.
Search found 1158 matches
- 18 Feb 2015 21:32
- Forum: DOS Batch Forum
- Topic: Anagrams Generator
- Replies: 7
- Views: 4646
- 16 Feb 2015 10:08
- Forum: DOS Batch Forum
- Topic: Command Redirection to Output File.
- Replies: 2
- Views: 3296
Re: Command Redirection to Output File.
%state% == alive The spaces are breaking your code. Batch takes spaces as literal values, so you're checking to see if the value of %state% with a space on the end is equal to a space followed by the word "alive," which it can never be. Remove the spaces and wrap both values in some chara...
- 15 Feb 2015 00:34
- Forum: DOS Batch Forum
- Topic: Help Needed in Text File
- Replies: 6
- Views: 4333
Re: Help Needed in Text File
However, if you think there might be instances of "core", "CORE", "CoRe", or some other weird casing going on in the files, you can try
Code: Select all
findstr /m /s /i "core" C:\Sample\*.txt>>output.txt
- 15 Feb 2015 00:29
- Forum: DOS Batch Forum
- Topic: Help Needed in Text File
- Replies: 6
- Views: 4333
Re: Help Needed in Text File
If you get no output from that command, then there are no files that contain the word "Core"
- 14 Feb 2015 21:30
- Forum: DOS Batch Forum
- Topic: Process files one by one
- Replies: 16
- Views: 9232
Re: Process files one by one
If you like this, you should wait until somebody like Squashman, Aacini, or dbenham comes in here and corrects my code Is the 4-at-a-time thing for speed issues or do the programs have a limit to how many instances can be run at a time? Because this will run truepng on all files, wait for all instan...
- 14 Feb 2015 20:36
- Forum: DOS Batch Forum
- Topic: Process files one by one
- Replies: 16
- Views: 9232
Re: Process files one by one
Here is fine. For some reason I was under the impression that the script would wait for the ping to finish, but I didn't take into account that one process that was running long could still be active (when I tested with pings of varying lengths, my testing had the long ping after the short ping, so ...
- 14 Feb 2015 20:00
- Forum: DOS Batch Forum
- Topic: Process files one by one
- Replies: 16
- Views: 9232
Re: Process files one by one
I edited my SO post and it should work now, unless truepng does something stupid like delete the folder after processes or something.
- 14 Feb 2015 19:25
- Forum: DOS Batch Forum
- Topic: Process files one by one
- Replies: 16
- Views: 9232
Re: Process files one by one
Dude, I responded to your post on Stack Overflow almost 20 minutes ago.
- 14 Feb 2015 16:17
- Forum: DOS Batch Forum
- Topic: mailsend script for FreeFileSync
- Replies: 72
- Views: 37894
Re: mailsend script for FreeFileSync
Ah, sorry... @echo off timeout /t 5 set subject=[Failed] The search terms were not found set /p first_line=<"C:\FFS\LastSyncs.log" echo %first_line%|findstr /i "successfully" >nul && set subject=[Success] Synchronization completed successfully echo %first_line%|findstr /i...
- 14 Feb 2015 13:28
- Forum: DOS Batch Forum
- Topic: mailsend script for FreeFileSync
- Replies: 72
- Views: 37894
Re: mailsend script for FreeFileSync
You can extract the first line of a file to a variable like this: set /p first_line=<"C:\FFS\LastSyncs.log" And from there, you can just search through that string. echo %first_line%|findstr /i "successfully" >nul && set subject=[Success] Synchronization completed success...
- 14 Feb 2015 02:25
- Forum: DOS Batch Forum
- Topic: mailsend script for FreeFileSync
- Replies: 72
- Views: 37894
Re: mailsend script for FreeFileSync
You generally get that error message when the file does not exist.
- 14 Feb 2015 01:32
- Forum: DOS Batch Forum
- Topic: mailsend script for FreeFileSync
- Replies: 72
- Views: 37894
Re: mailsend script for FreeFileSync
Delete the line
Change every instance of "C:\FFS\Logs\%recent%" to "C:\FFS\LastSync.log"
Code: Select all
for /f "delims=" %%x in ('dir "C:\FFS\Logs\" /od /b') do set recent=%%x
Change every instance of "C:\FFS\Logs\%recent%" to "C:\FFS\LastSync.log"
- 11 Feb 2015 23:27
- Forum: DOS Batch Forum
- Topic: How to rename a file with a date filename
- Replies: 6
- Views: 5046
Re: How to rename a file with a date filename
COPY "report.xlsx" "%SystemDrive%\docume~1\%UserName%\Desktop\currentDate.xlsx" COPY "report.xlsx" "%SystemDrive%\Users\%UserName%\Desktop\currentDate.xlsx" For XP and above, both can be shortened to simply %USERPROFILE%\Desktop\currentDate.xlsx The %date% va...
- 11 Feb 2015 21:49
- Forum: DOS Batch Forum
- Topic: how to calculate count of no.of pages in pdf file-batch file
- Replies: 38
- Views: 30240
Re: how to calculate count of no.of pages in pdf file-batch
Oh hey, I remember this topic. From five months ago.
- 09 Feb 2015 08:47
- Forum: DOS Batch Forum
- Topic: Help me in creating a batch
- Replies: 5
- Views: 3996
Re: Help me in creating a batch
You want an excel vba macro. Alternatively, if these are xlsx files and you have archival software (WinZip, WinRAR, 7-Zip, etc) installed, they're technically archive files with XML inside of folders. But you really, really, really don't want to create xlsx files that way. It's just a giant headache...