Tutorijali.Net forum

Full Version: Pokretanje programa pri gašenju računara ili odlaska u hibernate !?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Jel moguće da kad kliknem na Start->Shut down -> Shut down, da mi se prije gašenja pokrene neki prog.
Isto pitanje vrijedi i za stand by ? :)
tnx
Da :)

Jesi na win xp home ili profesional?
pr0.


Edit:

zna google zna :))

Quote:Open the Group Policy snap-in (start - run - gpedit.msc). Under computer configuration - windows setting - scripts, right-click on shutdown, select properties, and add the name of the program you want to run. In general, a script is a batch file or javascript or vb script file, but I've seen windows allow .exe files in some cases as well. Haven't tried it in this particular case, but if it won't allow you to run an executable directly, just create a batch file to run it from, and run the batch file at shutdown...

Ali opet ostaje pitanje, kako pokrenuti nesto pri odlasku u stand by ?
scroler Wrote:pr0.


Edit:

zna google zna :))

Quote:Open the Group Policy snap-in (start - run - gpedit.msc). Under computer configuration - windows setting - scripts, right-click on shutdown, select properties, and add the name of the program you want to run. In general, a script is a batch file or javascript or vb script file, but I've seen windows allow .exe files in some cases as well. Haven't tried it in this particular case, but if it won't allow you to run an executable directly, just create a batch file to run it from, and run the batch file at shutdown...

Ali opet ostaje pitanje, kako pokrenuti nesto pri odlasku u stand by ?

E stand by je vec druga prica... Za to ti je najbolje napraviti .bat fajl, prva linija neka bude program koji palis, a druga stand by. :) Mozes bat premjestiti u neki znj folder, napraviti shortcut i onda imas sve lijepo uredno :)
Ccc ma znam to, al' nije fazon tako :))
ja hoću da mi se eto npr. neki .bat fajl pokrene kad ja kliknem na ono žuto stand by što se prikaze kad kliknem start -> shut down...

ovo mi treba jer imam prog. koji sam napravio u VB za zakljucavanje jednog foldera, i nekad slucajno odem u stand by a zaboravim zakljucati taj folder... eh sad bi ja trebao kad kliknem na to žuto stand by, da mi se pokrene taj prog. koji ce provjeriti da li je folder zakljucan, ako nije zakljucat ce ga...
ovo sam uradio za shut down i radi savršeno He he .


xD
Reference URL's