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: is thier a script, cmd or bat to open a file when it arrives in a fold

4 Weeks Ago   #1
stuartrozier

Windows 7 Home Pre 64bit
 
 
is thier a script, cmd or bat to open a file when it arrives in a fold

Hello,

im trying to look for a script to open a file once it reaches the folder if possible,

im using watch 4 folder to monitor a specific folder, but it gives me the option to run a command, executable file, or a bat file open the arrival of the file?

so i was wondering if their was a script to open the file, save it as a bat file, once the file reaches the folder,

but the file name can be anything, and will be different every time

many thanks in advance

Stuart


My System SpecsSystem Spec
.
4 Weeks Ago   #2
Paul Black

7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
 
 

Hi stuartrozier,

Quote   Quote: Originally Posted by stuartrozier View Post
im trying to look for a script to open a file once it reaches the folder if possible. im using watch 4 folder to monitor a specific folder, but it gives me the option to run a command, executable file, or a bat file open the arrival of the file?

so i was wondering if their was a script to open the file, save it as a bat file, once the file reaches the folder,
but the file name can be anything, and will be different every time.
You could use something like Task Scheduler.

This might get you started =>
How to monitor a folder and trigger a command-line action when a file is created or edited?.

I hope this helps!
My System SpecsSystem Spec
4 Weeks Ago   #3
stuartrozier

Windows 7 Home Pre 64bit
 
 

hey thank you for the speediest reply ever in the world !

I've just tried setting it up through task scheduler, but its asking for a script to run ..

to cut a long story short ..

i have folder called 'torrents'

i have utorrent running in the background constantly, so the program itself doesn't need to opened,

but what I'm looking for is a task to run in the background, so that when the downloaded .torrent file, is added to the 'torrent' folder, the script/task will open this file, and therefore be added to utorrent which is already running in the background,
My System SpecsSystem Spec
.

4 Weeks Ago   #4
stuartrozier

Windows 7 Home Pre 64bit
 
 

so its not a specific file, it would be any file that is added to the 'torrent' folder
My System SpecsSystem Spec
Reply

 is thier a script, cmd or bat to open a file when it arrives in a fold




Thread Tools




Similar help and support threads
Thread Forum
Windows Script Host: Can not find script file ?
Hello & Thanks , win7 x64 Starting yesterday , I keep getting the following message: Windows Script Host Can not find script file "C:\ProgramData\{95137DD0-C591-AC56-7417-DCD4A4950F5A}\2.0.1.9\lare.txt". Any idea why and how to fix it ? Thanks/ ...Vern Tags: win7 x64, Download Games...
General Discussion
Web Credentials , not thier ?
Hello, I have recently divorced Norton identity login toolbar. It was slowing down IE, plus you now have to enter a password upon opening of IE on EVERY boot ... (you never used to have to do this) So I have started using IE11 Auto save username / password feature. Its not as advanced,...
Browsers & Mail
Open WebOS 1.0 arrives for those who dare to port
Source A Guy
News
EA Games and thier horrible customer service.
So I had a copy of SimCity box ship to me with a defective disk about 3 months ago. I ran through a gauntlet of customer service and finally ended up at EA games. The guy on chat support tried his best, but in the end had to concede that the game was defective. He gave me a discount code for my...
Gaming
Batch script to change how applications open from shortcuts
Hi. I have Googled this without success. Does anyone know of a script (or is able to write one?) which will batch convert a folder (+ subfolders) full of shortcuts so that they all open the application they link to (in the case, Microsoft Flight Simulator) in a maximized, not 'normal' window? ...
General Discussion


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 01:02.
Twitter Facebook Google+