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
Acerbun

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
UsernameIssues

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





Similar help and support threads
Thread Forum
How to sort images by date added to a folder
I created a folder on my desktop and add images of books I have sold almost daily. With Windows XP, the images would stay in order as I added them, but with Windows 7 they are always in order of the image name. I have tried using the different sort by date options, but they are always sorted by...
General Discussion
64 bit app stalls/freezes, dump file added
App takes a long time to load and generally runs slow when in use. As far as I know it was designed for Vista 64 bit. BTW the cmd "cscript adplus.vbs -crash -nodumponfirst -minionsecond -quiet -pn dpeg.exe" needed to be changed to "cscript adplus_old.vbs -crash -nodumponfirst -minionsecond -quiet...
BSOD Help and Support
Looking to create shortcut automatically for all files added to folder
Hello, I am looking to setup a system (through windows or 3rd party software) that automatically creates a shortcut, in a specified folder, every time a new file/folder is added to a specific folder or sets of folders. For example consider the download folder for a Torrent application. All...
General Discussion
DNS Client ignores hosts file unless NETWORK SERVICE permission added
Hi I've recently restored my Windows 7 Home Premium 64bit OS on to a new SSD using Macrium Reflect. My hosts file has always contained entries for local websites and has always worked until now. After much hair pulling and reading of forums, the only way that I could get the DNS Client to...
Network & Sharing
Win 7 makes jpeg hidden file when tag is added
Hi When I add a tag to a jpeg file, win 7 turns the file into a hidden file. I can reset this in the file properties but then the file is no longer searchable using any of its file name as a search term. Any thoughts? CeeGee
Music, Pictures & Video
Magic ISO "ERROR: Added file is too large." when adding 4.29 GB file
When I try to add a 4.29 GB file to a disk image I'm creating it says "ERROR: Added file is too large." Registered Magic ISO is supposed to support up to 10 GBs. What's the deal?
Software

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 16:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App