TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

Batch File

Programming

 
Reply
Thread Tools Display Modes
Unread 04-04-2014, 01:38 AM   #1
Junior Member (25+)
Thread Starter
 
Join Date: Nov 2007
Location: New Zealand
Posts: 81
Thanks: 2
Thanked 3 Times in 3 Posts
Mood: Cool
Rep Power: 0 TG09 is an unknown quantity at this point

Intel Nvidia

Windows XP Windows Server Windows 7 Windows 8


Batch File

Hi All,

I need a bit of help, got a batch file (I know we will change to powershell later)
that uses SDelete.exe and I need it to go through all users profiles and delete certain extensions in %USERPROFILES%\Documents & %USERPROFILES%\Pictures

I am using below at the moment, but that deletes everything under the users profiles that have *.jpg, I want just certain folders or exclude certain folders.

For /R C:\Users %%G in (*.JPG) do <runs SDelete> -s -p 3 /accepteula

Thanks for the help.

Sponsored Links
__________________
If I have helped you, thank me please.
TG09 is offline   Reply With Quote
Unread 06-04-2014, 07:51 PM   #2
Junior Member (25+)
Thread Starter
 
Join Date: Nov 2007
Location: New Zealand
Posts: 81
Thanks: 2
Thanked 3 Times in 3 Posts
Mood: Cool
Rep Power: 0 TG09 is an unknown quantity at this point

Intel Nvidia

Windows XP Windows Server Windows 7 Windows 8


Re: Batch File

Sponsored Links
See this is a helpful forum, found it out on another forum.

Sponsored Links
__________________
If I have helped you, thank me please.
TG09 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trap in a batch file - How to execute a command after stopping a batch file using Ctrl+C susja Programming 8 04-05-2010 08:30 AM
Batch Compiling - How to convert a batch file to an EXE ? 1mAn3rd Programming 8 15-05-2008 09:23 PM
Batch file works in command line but not as a batch Danger Windows XP 7 05-02-2008 05:11 PM
Batch file rename question (consecutive file numbers) gibbonsp Unix 2 15-09-2007 06:22 AM
Batch file rename question (consecutive file numbers) gibbonsp Unix 2 15-09-2007 06:20 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 01:15 AM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional