How to add a CRLF
Posted: 16 Oct 2022 12:58
This bat file checks to see if files exist. It lists the files that are not found all on one line. I'd like to know how to change it to list each file on a line of it's own. This is what the output looks like:
This is what the bat file looks like now:
Code: Select all
(set file=)
if not exist "VNC UltraVNC_1_2_22_X64_Setup.exe" (
set file=VNC UltraVNC_1_2_22_X64_Setup.exe)
if not exist VNCsaveinf.inf (
set file=%file% VNCsaveinf.inf)
if not exist VNCsetup.reg (
set file=%file% VNCsetup.reg)
if not exist SecureVNCPlugin64.dsm (
set file=%file% SecureVNCPlugin64.dsm)
if not exist rc4.key (
set file=%file% rc4.key)
if defined file (
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
Echo.
echo 旼컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴커
echo ?
echo ? The files "%file%" do not exist in this directory
echo ? Move the above files into %CD%
echo ?
echo ?
echo ?
echo ? Press any key to close this window
echo ?
echo 읕컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴켸
Pause > Nul
)