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

stuartrozier

New member
Member
VIP
Local time
2:07 AM
Messages
113
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 Computer My Computer

At a glance

Windows 7 Home Pre 64biti7 intel core 2.93GHZ16.00GBnVidia GT 220
Computer Manufacturer/Model Number
HP
OS
Windows 7 Home Pre 64bit
CPU
i7 intel core 2.93GHZ
Motherboard
MSI
Memory
16.00GB
Graphics Card(s)
nVidia GT 220
Hi stuartrozier,

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 Computer My Computer

At a glance

Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux...Intel(R) Pentium(R) CPU P6200 @ 2.13GHz4.00 GBIntel(R) Graphics Media Accelerator HD
Computer type
Laptop
Computer Manufacturer/Model Number
Fujitsu LIFEBOOK
OS
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
CPU
Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
Motherboard
FUJITSU FJNBB06
Memory
4.00 GB
Graphics Card(s)
Intel(R) Graphics Media Accelerator HD
Sound Card
[1] Realtek High Definition Audio [2] Intel(R) Display Audio
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
TOSHIBA MK5076GSX
Antivirus
AVG FREE
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 Computer My Computer

At a glance

Windows 7 Home Pre 64biti7 intel core 2.93GHZ16.00GBnVidia GT 220
Computer Manufacturer/Model Number
HP
OS
Windows 7 Home Pre 64bit
CPU
i7 intel core 2.93GHZ
Motherboard
MSI
Memory
16.00GB
Graphics Card(s)
nVidia GT 220
so its not a specific file, it would be any file that is added to the 'torrent' folder
 

My Computer My Computer

At a glance

Windows 7 Home Pre 64biti7 intel core 2.93GHZ16.00GBnVidia GT 220
Computer Manufacturer/Model Number
HP
OS
Windows 7 Home Pre 64bit
CPU
i7 intel core 2.93GHZ
Motherboard
MSI
Memory
16.00GB
Graphics Card(s)
nVidia GT 220
Back
Top