Search found 3 matches
- 16 Jan 2015 06:28
- Forum: DOS Batch Forum
- Topic: Command Output handle emtpy Line in FOR Loop
- Replies: 7
- Views: 6044
Re: Command Output handle emtpy Line in FOR Loop
new day new point of view. Here my finished script with findstr solution. Thanks for now. set robostr=/S /V /ZB /R:1 /W:1 /LOG+:Backup.log set backupdrivevolname=BACKUP15012015 set backupmarker=*_#. @echo off for /f "delims=" %%A in ('WMIC logicaldisk where VolumeName^=^'%backupdrivevolnam...
- 15 Jan 2015 04:02
- Forum: DOS Batch Forum
- Topic: Command Output handle emtpy Line in FOR Loop
- Replies: 7
- Views: 6044
Re: Command Output handle emtpy Line in FOR Loop
Moinsen, thanks for the answers: 1.Problem: I try to access "%a" on second subroutine - is there another way??? 2.Problem: In a batch script i get a (german) syntax error "kann syntaktisch an dieser Stelle nicht verarbeitet werden." (i copy & paste the statement) I´m going cr...
- 09 Jan 2015 05:40
- Forum: DOS Batch Forum
- Topic: Command Output handle emtpy Line in FOR Loop
- Replies: 7
- Views: 6044
Command Output handle emtpy Line in FOR Loop
################## F:\>for /F "skip=1 tokens=1" %d in ('WMIC logicaldisk where VolumeName="BACKUP150108" get caption') do echo backupdrive="%d" F:\>echo backupdrive="F:" backupdrive="F:" " \>echo backupdrive=" "ackupdrive=" ######...