S
ShadowTek
If I use the following in a batch file, then a file named "hi!" will
be echoed as "hi".
setlocal EnableDelayedExpansion
for %%G in (Input_Files\*) do (
echo %%G
)
This breaks proper file referencing when trying to work with anything
that has an exclamation point in it.
Is it just not possible to use any files with "!" when delayed
expansion is enabled? Or is there still some way to work with it?
be echoed as "hi".
setlocal EnableDelayedExpansion
for %%G in (Input_Files\*) do (
echo %%G
)
This breaks proper file referencing when trying to work with anything
that has an exclamation point in it.
Is it just not possible to use any files with "!" when delayed
expansion is enabled? Or is there still some way to work with it?