WHats the command line for this? (Full Version)

All Forums >> [Other] >> Free Discussion



Message


killalot57 -> WHats the command line for this? (6/19/2008 1:58:04 AM)

whats a command line for deleting the contents of a folder but not the folder itself, I want to make a batch command that will clear my recent documents, prefetch, ect




killalot57 -> RE: WHats the command line for this? (6/19/2008 2:47:38 AM)

Okay I figured out a command line... its....  

@echo off
del /q "path to folder I want to clear out*.*"
exit

and I saved it as a batch command, but it still leaves folders.... How do I fix that?




killalot57 -> RE: WHats the command line for this? (6/19/2008 3:35:13 AM)

Also I made a little message that pops up when I use it but it will also say things like...

Could not find "path to folder"
then it will show my message, is there a command line that will tell it not to show that alert?
I'll attach two pictures so you can see what I mean. By the way, you'll need to zoom in on the
files to be able to see them because I had to put their quality way down because of the picture
upload restrictions.






Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.599121E-02