CDRInfo Forum CDRInfo Forum

Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

WHats the command line for this?   Logged in as: Guest
Viewers: 1620 You can click here to see Today's Posts | Most Active Topics | Posts Since Last Visit
  Printable Version
All Forums >> [Other] >> Free Discussion >> WHats the command line for this? Page: [1]
Login
Message << Older Topic   Newer Topic >>
WHats the command line for this? - 6/19/2008 1:58:04 AM   
killalot57


Posts: 206
Joined: 6/6/2007
From: Ava, NY
Status: offline
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
Post #: 1
RE: WHats the command line for this? - 6/19/2008 2:47:38 AM   
killalot57


Posts: 206
Joined: 6/6/2007
From: Ava, NY
Status: offline
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?

(in reply to killalot57)
Post #: 2
RE: WHats the command line for this? - 6/19/2008 3:35:13 AM   
killalot57


Posts: 206
Joined: 6/6/2007
From: Ava, NY
Status: offline
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.




Attachment (2)

(in reply to killalot57)
Post #: 3
Page:   [1]
All Forums >> [Other] >> Free Discussion >> WHats the command line for this? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.016