Sometimes I get "" Sometimes not
Posted: 01 Mar 2011 12:19
I am using a batch to encode videos for virtualdub. I have used this scrip before and it works no problem. I have tried the last several days to make the code work using other tasks, and today I just realized that the script makes quotations when I didnt ask for them.
here is a small part of the script:
An this is what I NOW get, what I never used to get:
Look where the quotations are, they are not around the complete filename. I actually didnt want them at all.
What could be the cause for this?
here is a small part of the script:
rem Add to scheduler batch
echo if exist %1.part1.avs J:\DESHAKER\VirtualDub\deinterlace1.bat %1 > J:\DESHAKER\VirtualDub\Picker.bat
echo if exist %1.part2.avs J:\DESHAKER\%1.deshake.bat %1.avi >> J:\DESHAKER\VirtualDub\Picker.bat
echo if exist %1.part3.avs J:\DESHAKER\VirtualDub\deshakecut.bat %1.avi.avi >> J:\DESHAKER\VirtualDub\Picker.bat
An this is what I NOW get, what I never used to get:
if exist "J:\DESHAKER\5 second.MTS".part1.avs J:\DESHAKER\VirtualDub\deinterlace1.bat "J:\DESHAKER\5 second.MTS"
if exist "J:\DESHAKER\5 second.MTS".part2.avs J:\DESHAKER\"J:\DESHAKER\5 second.MTS".deshake.bat "J:\DESHAKER\5 second.MTS".avi
if exist "J:\DESHAKER\5 second.MTS".part3.avs J:\DESHAKER\VirtualDub\deshakecut.bat "J:\DESHAKER\5 second.MTS".avi.avi
Look where the quotations are, they are not around the complete filename. I actually didnt want them at all.
What could be the cause for this?