Script: Delete a folder from every users "Network Share" A.K.A. WKSP
Hey everyone! Sorry for the hiatus. Here is a little script I put together to delete all the "My Music" folders under WKSP. Seems like a simple enough task, until you have to do it. This script should save you a ton of time (hopefully).
Here is the code:
@echo off&setlocalSave it as a .bat file and you are good to go!
pushd c:\WKSP
for /f "delims=" %%a in ('dir /B/S/AD my*music') do del /Q /F /S "%%a\*.*"
popd
Remember to test the script! Just add an echo before the delete command. You can see the example in red below...
@echo off&setlocalHave Fun!
pushd c:\WKSP
for /f "delims=" %%a in ('dir /B/S/AD my*music') do echo del /Q /F /S "%%a\*.*"
popd
-Admin Bromo
Ian Lilkendey
Hot Sauce :)
2 comments:
hi to you admin:) my question for the univesal ghost is:
where i need to put the mysysprep.inf file in my image?
that when i use my image in different machine i do not need to put again and again the information off install off windows and the computer do it automatic???
and my second question is:what i need to do? i want to creat my image on dvd disc...so...in how way i burn the image on dvd disk that when i boot from the disk the ghost softwher go up in dos mode and i can to run it in frome the svd disk to the hard disk ??
beacuse i have alot of different computers in my work
you can wright me to my e-mail
aaron12345@walla.co.il
1 Comment - Show Original Post
aaron said...
hi to you admin:) my question for the univesal ghost is:
where i need to put the mysysprep.inf file in my image?
that when i use my image in different machine i do not need to put again and again the information off install off windows and the computer do it automatic???
and my second question is:what i need to do? i want to creat my image on dvd disc...so...in how way i burn the image on dvd disk that when i boot from the disk the ghost softwher go up in dos mode and i can to run it in frome the svd disk to the hard disk ??
beacuse i have alot of different computers in my work
you can wright me to my e-mail
aaron12345@walla.co
Post a Comment