Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch File creation  (Read 2178 times)

0 Members and 1 Guest are viewing this topic.

Karnkarunesh

  • Guest
Batch File creation
« on: November 13, 2009, 10:18:37 PM »
I am trying to create batch file to run a perticular file kept at this location....

C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
From this location again I need to select Component Services and under that this file need to to be run:

Computers\My Computer\COM+ Applications

Please help how to go to this specific location with the help of Batch file.

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Batch File creation
« Reply #1 on: November 14, 2009, 08:05:10 AM »
Code: [Select]
cd /d "C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools"
"Component Services.lnk"

Component Services is a shortcut file which launches a snap-in for the Windows Instrumentation. Once launched a window appears which requires mouse clicks on Computers, My Computer, and COM+ Applications. You'll need a Windows Script which can handle mouse clicks or something like Autoit.

Good luck.  8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein