Create a SendTo (Current Directory Then Delete)
Posted: 25 Jan 2011 13:02
I need a batch file that I can execute from the right click sendto option that will.
When I right click a folder and select sendto I want it to activate this command on that folder
Your probably thinking why not just hit delete..
Well on Vista, 7, & Server 2008 when I select the delete option from a share on my AS400 it will not delete sub folders
So I need to create a batch file to run the command above.
When I right click a folder and sendto the below code will open cmd with the path of the folder right clicked
In a nut shell I need a batch file to run this command on the right clicked folder. Please Help
To add a batch file to your send to... from the run command type sendto and place your batch in that folder. now when you right click a folder and select sendto you will see your batch.
When I right click a folder and select sendto I want it to activate this command on that folder
Code: Select all
rmdir /S /Q
Your probably thinking why not just hit delete..
Well on Vista, 7, & Server 2008 when I select the delete option from a share on my AS400 it will not delete sub folders
So I need to create a batch file to run the command above.
When I right click a folder and sendto the below code will open cmd with the path of the folder right clicked
Code: Select all
@echo off
cmd.exe /k pushd %1
Exit
In a nut shell I need a batch file to run this command on the right clicked folder. Please Help
Code: Select all
rmdir /S /Q
To add a batch file to your send to... from the run command type sendto and place your batch in that folder. now when you right click a folder and select sendto you will see your batch.