Create Batch File Help Please

August 7th, 2013

When windows starts I sometimes have a series of applications that I would like to start by running the .bat file.
In the bat file what is the command to run the Skype application amongst other exe files?
Thank you.

Answer #1
This is just a wild guess because I don’t know the proper path name, but I assume you could do something like this.

cd/
cd/program files/skype/
skype.exe

If your running 64-Bit windows, then “program files” will probably need changing to – “program files (x86)”
Also replace “skype” (second line, with the correct directory name if that’s incorrect)
————-
For Example… Lets say I wanted to open MSN Messenger (Windows Live Messenger) with a BAT file.
I would code it up like this.

cd/
cd/program files (x86)/windows live/messenger/
msnmsgr.exe

Answer #2
What’s wrong with just:
c:\program files/skype/skype.exe
You don’t need all the cd commands, just the full oath command.
Answer #3

@echo off
start "windowtitle" "C:\directory"
start "windowtitle" "C:\directory"
start "windowtitle" "C:\directory"
start "windowtitle" "C:\directory"
start "windowtitle" "C:\directory"
start "windowtitle" "C:\directory"
start "windowtitle" "C:\directory"

save as .bat, should work.. rarely do batchscripts lol
Answer #4
Wait a minute, SKYPE DOES have a checkbox to start with windows!!! Just go to options and select it.
BUT for the programs that does not have that checkbox you can do it the RIGHT WAY,
http://en.allexperts.com/q/Windows-XP-3282/Add-program-start.htm
Answer #5
Fluffbutt replied: What's wrong with just:
c:\program files/skype/skype.exe
You don't need all the cd commands, just the full oath command.

Yeah, you probably could do it that way.
I was just thinking back to when I was about 12 years old when I used to play DOS games lol…. and baring in mind that I’m now 27 LOL sooo… that’s a few years ago since I last played with DOS/Command Prompt or whatever you’d like to call it nowadays
Answer #6
Yah, I hear you.. dos prompt, trying to get emm working, trying to get past that 640k that gates said is all we’d ever need!!
Answer #7
Ashleyuk1984 this wont work because you’re using the dos commands to try to open directories to locate a file then run it, thanks for the input. I know Skype has a autoload, but sometimes I don’t want applications to run when windows start hence the bat file.
Fluffbutt you cant use the direct command like that in a batch file. Thanks.
Prox- Please explain this: start “windowtitle” “C:\directory” – What would I place in windows title? Thank you.
Answer #8
What’s wrong with using shortcuts? Or using the startup folder? Well I suppose we a .bat file could come in handy.
Answer #9
I was bored. This should work on on both x32 and x64 systems for Skype.
@echo off
echo ***Starting Skype***
IF NOT EXIST "C:\Program Files (x86)" GOTO X86
"C:\Program Files (x86)\Skype\Phone\Skype.exe" /nosplash /minimized
GOTO DONE
:X86
"C:\Program Files\Skype\Phone\Skype.exe" /nosplash /minimized
GOTO DONE
:DONE
echo ***Skype Started***

Answer #10
What's wrong with using shortcuts? Or using the startup folder?
you can put a shortcut to a folder in the startup folder that can contain shortcuts to whatever apps you want
then you can dbl click the one/ones you want or just close the folder if you don’t want any
Answer #11
I created a simple program. Create a folder on your C drive called Startup and then copy all the shortcuts to files you want to run into that folder. Whenever you want to start all those programs the exe will loop through and start them all.
I didn’t go crazy with it, so there is not a lot of error checking, but if you create the folder and copy shortcuts into there it will work np.
http://www.~Disallowed~/file/pSJMbuu/LnkStartup.exe

 

| Sitemap |