1.

Solve : Run batch file from right click menu?

Answer»

I'm using ProEngineer CAD which generates many report and log files which need to be deleted in order to tidy up the working DIRECTORY. I have this batch file which which worked in the right click menu on my previous XP machine but cannot get it to work in windows 7. If I copy the file into the folder and double click it the it does the job suggesting that there is something wrong with the way I edited the REGISTRY which was a straight copy from the old machine.

Question - how do I get this to run through the right context menu?


tidy.bat

CD "%1 %2 %3 %4 %5 %6 %7 %8 %9"

ECHO y | del *.crc.*
echo y | del *.log.*
echo y | del *.m_p.*
echo y | del *.ger.*
echo y | del *.inf.*
echo y | del *.lst.*
echo y | del *.log
echo y | del *.plt
echo y | del *.idx
echo y | del *.tst
Have you tried the Send to TOYS extension from the MS PowerToys collection ? ?...originally built for 98, ME and XP i got it to work in Win7...I'll give that a GO, thanks



Discussion

No Comment Found