Solved Action after opening a folder

SirDarknight

New member
Member
Local time
5:22 PM
Messages
68
Location
In the world
Is it possible that when I'll open a folder a program or file will open automatically??

Example : I open Program Files and Windows Media Player starts automatically!
 

My Computer

Computer Manufacturer/Model Number
DG41WV
OS
Windows 7 Ultimate 64 Bit
CPU
3.00 GHz
Motherboard
Don't know!
Memory
4096 mb
Graphics Card(s)
Very low :P
Sound Card
Not sure yet
Monitor(s) Displays
Dell E170S
Screen Resolution
1280 x 1024
Hard Drives
1 TB
850 GB
Keyboard
Bijoy Keyboard
Mouse
Wireless Optical Mouse
Internet Speed
256 KB/ps
SirDarkKnight mate for starters run these

http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html
http://www.sevenforums.com/tutorials/433-disk-check.html

then

http://www.superantispyware.com/

http://www.malwarebytes.org/products/malwarebytes_free/

http://www.bleepingcomputer.com/download/adwcleaner/

download from bleeping computer
delete any rubbish these come up with

Speccy will tell us what the motherboard is Speccy - Download download from piriform click on motherboard and it will open out see pic
 

Attachments

  • MOBO in SPECCY.PNG
    MOBO in SPECCY.PNG
    20.4 KB · Views: 38

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
Could you be more precise what programs you are opening and what method you use?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
Well, I've already given an example. I haven't got any medthod that's why I'm asking if there's any
 

My Computer

Computer Manufacturer/Model Number
DG41WV
OS
Windows 7 Ultimate 64 Bit
CPU
3.00 GHz
Motherboard
Don't know!
Memory
4096 mb
Graphics Card(s)
Very low :P
Sound Card
Not sure yet
Monitor(s) Displays
Dell E170S
Screen Resolution
1280 x 1024
Hard Drives
1 TB
850 GB
Keyboard
Bijoy Keyboard
Mouse
Wireless Optical Mouse
Internet Speed
256 KB/ps
Did you run the sfc and chkdsk yet? or any of the security sweeps?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
I think he wants a certain program/s to open when he opens a certain folder/s, not that that's his problem.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
W7 Pro x64 SP1 | W10 Pro IP x64 | W8.1 Pro x64 VM | Linux Mint VM
CPU
i7-4790k @ 4GHz (4.4GHz Boost)
Motherboard
ASUS Sabertooth Z87 (BIOS Rev 2004)
Memory
16GB DDR3 Kingston HyperX Fury @ 1600MHz CL 9-9-9-27
Graphics Card(s)
EVGA GTX 980 Classified
Sound Card
Realtek Onboard
Monitor(s) Displays
Samsung S27D390
Screen Resolution
1920 x 1080
Hard Drives
240GB Intel 520 Series SSD |
Samsung 850 EVO 120GB SSD |
2TB WD Caviar Black |
2TB WD Caviar Black |
2TB WD Caviar Green
PSU
Corsair HX850-80 Gold Modular
Case
Cooler Master Silencio 650
Cooling
Corsair H80i w/2 x Corsair SP120 | 2 x 120mm Noctua NF-S12B
Keyboard
Microsoft Sidewinder X4
Mouse
Gigabyte M6900 optical
Internet Speed
152mb
Antivirus
F-Secure
Browser
Firefox 38.0
Other Info
Backup Rig: Win 7 Pro 64-bit | AMD A10-5800k | ASUS F2A85-V Pro | 8GB Samsung DDR3 @1600MHz | 120GB Toshiba SDD | 2TB Seagate HDD | Cooler Master Silencio 550
I think he wants a certain program/s to open when he opens a certain folder/s, not that that's his problem.
Could be, but why? I just use the shortcut or quick launch. We need some response from the OP to clarify I think.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
I think he wants a certain program/s to open when he opens a certain folder/s, not that that's his problem.
Could be, but why? I just use the shortcut or quick launch. We need some response from the OP to clarify I think.
Yes Gary I wished those scans had been done first thing if only to rule out any nasties:rolleyes:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
I think the OP wants to open a specific application to open automatically whenever he opens a specific folder, sort of like Autoplay for folders.

I guess the example rephrased would be,
If I open Program Files folder, I want Media Player to start automatically. How do I do it ?

:)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP EliteBook 8530w Mobile Workstation
OS
Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
CPU
Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache)
Motherboard
Mobile Intel PM45 Express Chipset ICH9M-Enhanced
Memory
4GB 800 MHz DDR2 SDRAM
Graphics Card(s)
ATI Mobility FireGL V5700 with 256 MB
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
15.4-inch WXGA anti-glare (1280 x 800 resolution)
Screen Resolution
1280 x 800
Hard Drives
500GB + 1TB
Mouse
Synaptics PS/2 Port Touchpad, USB Mouse
Internet Speed
4 Mbps
Antivirus
MSE
Browser
Firefox, Chrome, IE
Other Info
Authentec AES2810 Fingerprint Reader
Hmm Gladson if the OP would answer we might get to the bottom of what is trying to be done.

I personally cannot see what is wrong with clicking on Start > All programs and picking the one you want or just have it on the taskbar or the Desktop it isn't rocket science.:confused:
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
As gladson1976 said, maybe u got me and him, so now the question is : is it possible?
 

My Computer

Computer Manufacturer/Model Number
DG41WV
OS
Windows 7 Ultimate 64 Bit
CPU
3.00 GHz
Motherboard
Don't know!
Memory
4096 mb
Graphics Card(s)
Very low :P
Sound Card
Not sure yet
Monitor(s) Displays
Dell E170S
Screen Resolution
1280 x 1024
Hard Drives
1 TB
850 GB
Keyboard
Bijoy Keyboard
Mouse
Wireless Optical Mouse
Internet Speed
256 KB/ps
Is it possible that when I'll open a folder a program or file will open automatically??

Example : I open Program Files and Windows Media Player starts automatically!
Sure - that is possible... but you might have to change some settings to make it reliable.

I'm going to assume that you are "opening" Program Files using Windows (file) Explorer. Can you live with the Windows Classic theme? Because in that theme, you can set Windows (file) Explorer to display the full path to the folder that was opened. In this case, C:\Program Files

If you use a tool like AutoIt, you can have a script that just waits around until it "sees" a window with that title. Once such a window appears, the script can launch Windows Media Player.Let me know if you want know more.

Edit: I might be able to make it work with other themes - I just use Classic for its speed.

(You might want to watch the video in the full screen mode and at 720p resolution.)
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Is it possible that when I'll open a folder a program or file will open automatically??

Example : I open Program Files and Windows Media Player starts automatically!
Sure - that is possible... but you might have to change some settings to make it reliable.

I'm going to assume that you are "opening" Program Files using Windows (file) Explorer. Can you live with the Windows Classic theme? Because in that theme, you can set Windows (file) Explorer to display the full path to the folder that was opened. In this case, C:\Program Files

If you use a tool like AutoIt, you can have a script that just waits around until it "sees" a window with that title. Once such a window appears, the script can launch Windows Media Player.Let me know if you want know more.

Edit: I might be able to make it work with other themes - I just use Classic for its speed.

(You might want to watch the video in the full screen mode and at 720p resolution.)

Thanks a lot to everyone and specially to UsernameIssues. Now I know what's the difference between a normal programmer like me and a pro programmer. I know Autoit,C#,Java but I still didn't find out how to do that.So thanks again to everyone.
 

My Computer

Computer Manufacturer/Model Number
DG41WV
OS
Windows 7 Ultimate 64 Bit
CPU
3.00 GHz
Motherboard
Don't know!
Memory
4096 mb
Graphics Card(s)
Very low :P
Sound Card
Not sure yet
Monitor(s) Displays
Dell E170S
Screen Resolution
1280 x 1024
Hard Drives
1 TB
850 GB
Keyboard
Bijoy Keyboard
Mouse
Wireless Optical Mouse
Internet Speed
256 KB/ps
Your are too kind. A professional programmer would laugh at my code. I am but a hobbyist with no formal training. But I've seen enough professional coding to know what I typically leave out - namely, error checking and error handling.

The code for that post was just to show proof of concept. I would probably use it just as you see it with only a few small additions. But if I were to write it for others to use, I would need some error checking and error handling. As written, it can just hang in an infinite loop. I would know how/when to kill the script if it hung. Others should not have to do that.

Infinite loops are a usually bad thing when they have no error checking/handling - and the code above has two such loops. That said, if you keep the Opt line of code that enables AutoIt's tray icon mouse-over tool-tip debugging, then you will know when/where the script failed/hung and you can take action as needed/desired.

-enjoy
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Back
Top