Need to edge out the competition for your dream job? Train for certifications today.
This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.
IF EXIST %TempFile% DEL %TempFile%
IF "%~1" == "" (
REM for test purposes, CSVFile will have the same name as your batch file but with the .csv extension.
REM CREATING THE CSV FILE
) ELSE (
REM FIXING THE CSV FILE
FOR /F "usebackq delims=" %%A IN ("%CSVFile%") DO (
IF EXIST "%CSVFile%" REN "%CSVFile%" "%CSVFile%.BAK"
IF EXIST "%TempFile%" REN "%TempFile%" "%CSVFile%"
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.