Make a new text file and rename it to _____.bat (fill in the blank with a name of your choice). I'm assuming you know how to change file name extensions.
Right click on the .bat file. Choose 'edit'.
type this:
del " __A___ \*._B_"
fill in blank A with the directory name
fill in blank B with the extension of the file type you want to delete or '*' for all files.
EXAMPLE
del "C:\New Folder\*.*" - this will delete everything in the folder
OR
del "C:\Another Folder\*.jpg" - this will only delete files with the jpg extension
Now you can save the batch file and run it.
You can just delete hidden files with the same del command, but since the files are hidden you need to map the location of the hidden folder in the command so the batch file knows where to look and delete. @Echo off del "location of hidden files and/or folders" /Q /F /S exit
Yes because if you deleted the folder what would hold the files?
Delete all the files inside the /public_html/ folder. Do not delete the folder, Delete the stuff inside it.
Some files can be protected from being deleted either because they are important system files or belong to a person who protected it, so if you don't own the rights for the file/folder you wish to delete, the batch file will not delete and will just say "Access is Denied".
In Dos-just write (DEL Folder Name) this command will delete all the Files inside that folder,then write (RD Folder Name) This will Remove your Folder. Remember both command contain Same folder name. Which you want to Delete.(DEL)command is used to delete Files. (RD) command is used to delete Folder
You can delete it all, they are temporary files.
It depends on what kind of files are in the CD's folder. If it's a CD that was purchased with software in the folders, you probably cannot delete the folder as the files within it are write-protected against accidental deletion. If the CD is something you created and your account has full rights to the files within, you should be able to delete the folder. If it gives you an error that the folder cannot be deleted because it is not empty, delete the contents first, then the folder.
Easy...You make a folder (call it something/ or anything) put this folder in the beginning...Name it something (i.e. Deleted files)Drag all your unwanted files (this works best when you have a lot of unwanted files) to your folderOnce that process is complete, you delete the folder*The folder will be deleted, including your unwanted files that you have put in that folder.
Here's the code: @echo off del "location of folder here" /Q /F /S The code, when run, will locate the mapped location of a folder and delete everything in it. An example: @echo off del C:\Users\Noah\WikiAnswers\*.* /Q /F /S You might want to get rid of the /Q and /F at the end as these two commands prompts the batch file to just go ahead and delete everything without asking for a confirmation. The /S is there so it deletes all the files in the folders in the targeted folder. Also, note that some folders can be protected either by Windows or by the owner of the folders and/or the file(s) in it, and this can deny access for your batch file to delete it if you are not the owner of the file or do not have permission to delete it.
application
You can delete them just like any other folder.
Ah, darling, it's as easy as pie. Just whip up a batch file with the command "copy %~dp0*.* destination_folder" and voilà, you're all set to copy those files from the same folder. No need to break a sweat, it's a piece of cake!