Computing.Net > Forums > Programming > Script to delete specific files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Script to delete specific files

Reply to Message Icon

Name: neelima
Date: November 17, 2006 at 02:58:44 Pacific
OS: Windows XP
CPU/Ram: 2.26GHZ, 504MB of Ram
Comment:

I need to replace the old files with the new files whenever the new release is made for testing an application. I want to write a script so that it cleans up the disk with old files before pasting the new files in the specified directory. Can anyone help me in writing the script?

neelima



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: November 17, 2006 at 03:04:46 Pacific
Reply:

If you want to delete all the files in a directory:

del d:\someDIR\*.*



=====================================
If at first you don't succeed, you're about average.

M2



0
Reply to Message Icon

Related Posts

See More


Web Part using bitmaps



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Script to delete specific files

batch file to delete folders/files www.computing.net/answers/programming/batch-file-to-delete-foldersfiles/16164.html

Need batch file to delete old files www.computing.net/answers/programming/need-batch-file-to-delete-old-files/14092.html

to delete all files folders www.computing.net/answers/programming/to-delete-all-files-folders/19379.html