Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Commented Issue: Fails to load xml if there are spaces in the filename [19633]

$
0
0
Hi Brian,

The batch file fails to load a XML with spaces in it, ie "Test Farm - Server1.xml"
The worst past is that there is no error or output it simply closes.


Thanks,
Ivan
Comments: ** Comment from web user: ivan300 **

Hey,

This brought me back to the good old days hehe

@ECHO OFF
SETLOCAL
cls

:TOP
IF (%1) == () GOTO END
SET ARG=%ARG% %1
SHIFT
GOTO TOP
:END

for /f "tokens=* delims= " %%a in ("%ARG%") do set arg=%%a
echo."%ARG%"

pause

Ivan


Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>