J
James
Won't bore you with all the background, but URGENTLY need
suggestions on how I can complete the "REM ## Strip any
double-quotes from %%j and %%k" bit (in other words, want
to remove all double-quotes from a string within a batch
file using only the tools available "native" to WinXP).
The script below running on WinXP Pro. (If you don't
understand the script below, please do not both to ask me
to explain it).
@echo off
for /D %%I in (data*) do (
echo Checking "%%~I"
if exist "%%~I\index.fil" (
for /F "tokens=1,2* usebackq" %%i in ("%%
~I\index.fil") do (
if %%i == Description (
REM ## Strip any double-quotes from %%j and %%k
echo Description "%%j %%k"
)
)
)
)
suggestions on how I can complete the "REM ## Strip any
double-quotes from %%j and %%k" bit (in other words, want
to remove all double-quotes from a string within a batch
file using only the tools available "native" to WinXP).
The script below running on WinXP Pro. (If you don't
understand the script below, please do not both to ask me
to explain it).
@echo off
for /D %%I in (data*) do (
echo Checking "%%~I"
if exist "%%~I\index.fil" (
for /F "tokens=1,2* usebackq" %%i in ("%%
~I\index.fil") do (
if %%i == Description (
REM ## Strip any double-quotes from %%j and %%k
echo Description "%%j %%k"
)
)
)
)