Thread: programma starten in batch
-
28-07-2010, 22:41 #1
programma starten in batch
beste 9livers,
ik heb een batch bestandje gemaakt dat automatisch programmas opstart wanneer ik men pc aanzet maar met een delay tussen dat niet alles tegelijk opstart. Nu het probleem is hij vind sommige programmas niet hoewel ze tog op men pc staan.
De steam.exe en HKTunes.exe willen niet opstarten hoewel ze toch juist gespeld zijn. de andere starten wel op.
Code:@echo off @ping 127.0.0.1 -n 4::sec -w 1000> nul start xfire.exe @ping 127.0.0.1 -n 2::sec -w 1000> nul start steam.exe @ping 127.0.0.1 -n 2::sec -w 1000> nul start lcdstudio.exe @ping 127.0.0.1 -n 2::sec -w 1000> nul start HKTunes.exe
CaMoFlAgE/Helze/Jokke0066no votes
-
-
28-07-2010, 23:40 #2
batch files = dos dus onderhevig aan path variabele voor het vinden van "programma's" zonder absoluut path...
no votes
-
29-07-2010, 00:45 #3no votes
-
29-07-2010, 01:06 #4Approved 9liver
- Registered
- 18/01/04
- Location
- Melle
- Posts
- 10,535
- iTrader
- 56 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 27/102
Diegene die werken zitten in de path variabelen van windows zelf (die je kan vinden onder de systeemvariabelen).
“In terms of how we evaluate schooling, everything is about working by yourself. If you work with someone else, it’s called cheating. Once you get out in the real world, everything you do involves working with other people.”
PSN: Cycloon - Final Fantasy XIV: A realm reborn characterno votes
-
29-07-2010, 11:35 #5
aah ok? men dos kennis is niet zo groot dus kan je een voorbeeldje geven of zo?
CaMoFlAgE/Helze/Jokke0066no votes
-
29-07-2010, 12:04 #6Approved 9liver
- Registered
- 18/01/04
- Location
- Melle
- Posts
- 10,535
- iTrader
- 56 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 27/102
Maak het jezelf gemakkelijk en gebruik gewoon het volledige pad (absolute path) van die exe files.
“In terms of how we evaluate schooling, everything is about working by yourself. If you work with someone else, it’s called cheating. Once you get out in the real world, everything you do involves working with other people.”
PSN: Cycloon - Final Fantasy XIV: A realm reborn characterno votes
-
29-07-2010, 12:06 #7
heb ik al geprobeerd
maar dat wil ook niet werkenCode:start D:\Program Files\Steam\steam.exe
CaMoFlAgE/Helze/Jokke0066no votes
-
29-07-2010, 12:11 #8Approved 9liver
- Registered
- 21/08/02
- Location
- Roeselare
- Posts
- 4,474
- iTrader
- 15 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 1/35
start "D:\Program Files\Steam\steam.exe"
no votes
-
29-07-2010, 12:42 #9Member
- Registered
- 17/07/02
- Location
- Wilrijk
- Posts
- 1,994
- iTrader
- 2 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 9/16
voor uw path variablen te zien
right-click op My Computer -> Tab Advanced -< Environment Variables
Dan bij System variables kunt ge de Path variablen zienno votes
-
29-07-2010, 14:06 #10no votes
-
29-07-2010, 14:09 #11Approved 9liver
- Registered
- 18/01/04
- Location
- Melle
- Posts
- 10,535
- iTrader
- 56 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 27/102
Nee, enkel het pad. Dit dus: D:\Program Files\Steam\
“In terms of how we evaluate schooling, everything is about working by yourself. If you work with someone else, it’s called cheating. Once you get out in the real world, everything you do involves working with other people.”
PSN: Cycloon - Final Fantasy XIV: A realm reborn characterno votes
-
29-07-2010, 15:53 #12Approved 9-lifer
- Registered
- 30/05/04
- Location
- Hier
- Posts
- 1,987
- iTrader
- 17 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 0/29
Code:cd "D:\Program Files\Steam" steam.exe
no votes
-
29-07-2010, 18:40 #13
bedankt de manier van cycloon werkt.
de manier ven kRa werkte precies niet altijd
nog een vraagje kan ik die programma dan ook laten opstarten op de achtergrond zodat die niet open springen terwijl ik met iets anders bezig ben? of is dat iet te ingewikkeld?CaMoFlAgE/Helze/Jokke0066no votes
-
29-07-2010, 18:47 #14
hmmm ik denk dat ik het heb gevonden gwn /min er bij zetten. of weet iemand nog een betere manier?
CaMoFlAgE/Helze/Jokke0066no votes

