I have this job step to delete a flat file created by a SQL job: -
xp_cmdshell 'del Z:\AXDATA.txt'
It runs sucesssfully.
The actual file is AXData.txt with some lower case characters, is this the issue? I changed it to lower case in the job step but it just reverted back