Search found 4 matches
- 16 Jul 2014 13:30
- Forum: DOS Batch Forum
- Topic: Deleting a folder via Batch file
- Replies: 8
- Views: 7305
Re: Deleting a folder via Batch file
Well they are folders that have content. So the location is H:\Neals Personal\Test12345, where Test12345 contains the backup content. I am trying to delete the folder Test12345.
- 16 Jul 2014 11:26
- Forum: DOS Batch Forum
- Topic: Deleting a folder via Batch file
- Replies: 8
- Views: 7305
Re: Deleting a folder via Batch file
There are backup files/folders that are created every night at 11pm, and those files start with the word of "Test". So that is why i was using the wildcard. The location of those files are H:\Neals Personal\. So what i was really trying to do was every night i want to delete a backup folde...
- 16 Jul 2014 09:18
- Forum: DOS Batch Forum
- Topic: Deleting a folder via Batch file
- Replies: 8
- Views: 7305
Deleting a folder via Batch file
If i want to delete a folder, say it was named "Test Folder", on my H drive.....is this how i would write it because i am not having any luck:
CD H:\
ECHO
forfiles /p "H:\Neals Personal Info" /s /m Test*" /c "cmd /c Del Test*"
pause
Thank you in advance!
CD H:\
ECHO
forfiles /p "H:\Neals Personal Info" /s /m Test*" /c "cmd /c Del Test*"
pause
Thank you in advance!
- 02 Jul 2014 14:24
- Forum: DOS Batch Forum
- Topic: .bat Wildcard Question
- Replies: 2
- Views: 4004
.bat Wildcard Question
I am new to creating .bat files and i am trying to figure out how to do a delete on the registry. I am not sure if you can use wildcards in a directory path and not sure how to search for pieces of a data value. We have an application that writes to the registry and we want to delete every registry ...