New Posts  All Forums:Forum Nav:

Batch/Shell Script - Page 2

post #11 of 14
Thread Starter 
Nope. It doesn't look like you can wildcard sub-folders.
That's a bit disappointing. Looks like I'll just throw it into each folder and go about it that way.
post #12 of 14
Quote:
Originally Posted by mbudden View Post
Nope. It doesn't look like you can wildcard sub-folders.
That's a bit disappointing. Looks like I'll just throw it into each folder and go about it that way.
Sounds good. It's better than right-click delete for everything.
BlueRaven
(13 items)
 
Dead BIOS
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 G74Sx NVIDIA GeForce GTX 560M  Samsung  
RAMRAMHard DriveHard Drive
Samsung  Samsung  Momentus 7200.4 Scorpio Blue 
Mouse
Logitech G700 
  hide details  
Reply
BlueRaven
(13 items)
 
Dead BIOS
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 G74Sx NVIDIA GeForce GTX 560M  Samsung  
RAMRAMHard DriveHard Drive
Samsung  Samsung  Momentus 7200.4 Scorpio Blue 
Mouse
Logitech G700 
  hide details  
Reply
post #13 of 14
Thread Starter 
Quote:
Originally Posted by That Guy View Post
Sounds good. It's better than right-click delete for everything.
Yeah, but now the problem is not all of them are so easy.
It will either be like 30x30 or 300x400 then you get crazy ones like 577x580.
But those should be easy to weed out with right clicking D: lol
post #14 of 14
You need the /S Parameter

Code:
del /S "C:\\Main\\*-*x*.jpg"
/S deletes files from the current directory and all subdirectories.

Also I did a wildcard to remove all files with "-anythingxanything.jpg"
Edited by ALUCARDVPR - 7/21/11 at 8:09pm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming