Solved

Batch file to delete a file from network

Posted on 2004-04-30
2
202 Views
Last Modified: 2010-04-17
Name of file DB_Backup

Path where the file resides \\server1\folder\file.bak
0
Comment
Question by:jaze95
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 10958769
@echo off
if exist \\server1\folder\file.bak erase \\server1\folder\file.bak



*You will need the correct permission to do so...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10958854
Thanx. :D
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Formula for calculating ROI on training 6 87
Using Third Party DLL with Access VBA 14 62
How to Have Macro Files Automatically "Edit" 5 71
"lblTime is not declared" 3 63
This is an explanation of a simple data model to help parse a JSON feed
This is about my first experience with programming Arduino.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question