Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Spyware and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Important Announcement: The winners of the BC Million Post contest have been announced. You can read who the winners are at this post.

- BleepingComputer Management
 
Reply to this topicStart new topic
> Help Making A Simple Batch File..., I need to open something using a batch file
Temo
post Dec 4 2005, 09:52 PM
Post #1


Member
**

Group: Members
Posts: 51
Joined: 25-November 05
Member No.: 41,907



I was trying to make a batch file work but it just didn't work.

is this the commond to open a program?
START /M "C:\WINDOWS\NOTEPAD.EXE"

anyways... I also try to use @Echo off and it didn't work... it still poped the Dos window...

All I need is something that will turn a program on... I need it because this program has to start ever time I turn on my computer... and maybe I need help in this part also...

Thanks in advance...


--------------------
The biggest pain in this world is Debuging!!
Go to the top of the page
 
+Quote Post
Rimmer
post Dec 7 2005, 12:16 AM
Post #2


Forum Addict
******

Group: Members
Posts: 2,159
Joined: 18-March 05
From: near Sydney, Australia
Member No.: 14,809



What operating system are you running?
If you have XP you open a command window with Start>run and type cmd OK.
You can run your batch files from there.

You can write your batch files using Notepad - when you have finished save the file with a .BAT extention instead of .TXT and that's your batch file done. Open the command window, change directory (CD) to where you saved the batch file and just type its name. It will then execute.

"@Echo off" means don't output any text to the screen unless specifically told to.

QUOTE
it still poped the Dos window...


- I don't understand what your saying here.

QUOTE
All I need is something that will turn a program on..

If you are running Windows and the program is installed in windows (i.e. not a DOS program) then all you have to do is copy the program icon from the Start Menu or from the Desktop and paste it into the Startup folder on the Start Menu. The easiest way to do this which will work in all versions of Windows is to right-click the Start button and select 'Explore'. That opens the Start Menu for your user. Navigate to the Startup folder (should be directly under Programs) and paste your icon in there. When Windows starts that program will run. You can set parameters to start the program minimised or with particular values set and a host of other options - refer to windows help on using Startup.

hth smile.gif


--------------------

Soltek QBIC, Pentium 4 3.0GHz, 512MB RAM, 200GB SATA HDD, ATI Radeon 9600XT 256MB, Netgear 54Mb/s WAP, ridiculously expensive Satellite Broadband
Windows XP Home SP2, Trend Micro Internet Security, Firefox, Thunderbird, AdAwareSE, Spybot S&D, SpywareBlaster, A-squared Free, Ewido Security Suite.
Go to the top of the page
 
+Quote Post
Temo
post Dec 8 2005, 08:10 PM
Post #3


Member
**

Group: Members
Posts: 51
Joined: 25-November 05
Member No.: 41,907



thanks


--------------------
The biggest pain in this world is Debuging!!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd November 2008 - 08:26 AM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.