Batch file to delete a file from network

Name of file DB_Backup

Path where the file resides \\server1\folder\file.bak
LVL 2
jaze95Asked:
Who is Participating?
 
sirbountyConnect With a Mentor Commented:
@echo off
if exist \\server1\folder\file.bak erase \\server1\folder\file.bak



*You will need the correct permission to do so...
0
 
sirbountyCommented:
Thanx. :D
0
Question has a verified solution.

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.

All Courses

From novice to tech pro — start learning today.