[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Batch file to delete a file from network

Name of file DB_Backup

Path where the file resides \\server1\folder\file.bak
0
jaze95
Asked:
jaze95
  • 2
1 Solution
 
sirbountyCommented:
@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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now