Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Help running an application when a file is added to a folder


23 Dec 2012   #1

Windows 7 Ultimate 32bit
 
 
Help running an application when a file is added to a folder

I need some help getting a .bat file to run when a file is added to a folder.. E.G When a file is downloaded to the downloads folder the .bat file runs and is moved to a separate location.


My System SpecsSystem Spec
.

24 Dec 2012   #2

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Acerbun View Post
I need some help getting a .bat file to run when a file is added to a folder.. E.G When a file is downloaded to the downloads folder the .bat file runs and is moved to a separate location.
Code:
:start
if exist "%USERPROFILE%\Downloads\*.*" move /y "%USERPROFILE%\Downloads\*.*" "%USERPROFILE%\desktop\"
ping 127.0.0.1 -n 20
goto start
My System SpecsSystem Spec
Reply

 Help running an application when a file is added to a folder




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:39 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33