Centar za edukaciju-BiH



#1 13.02.2014 07:36
pmiroslav Van mreze
Clan
Registrovan od:02.02.2009
Postovi:1,458


Predmet:Bat file za otvaranje i zatvaranje foldera
Treba mi bat file koji bi otvorio određeni folder i nakon neke radnje da ga ponovno zatvori.
Napisao sam komandu koja ga otvara
%SystemRoot%\explorer.exe "S:\"
i to radi, ali neznam kako folder opet zatvoriti
Pozdrav
↑  ↓

#2 13.02.2014 16:21
zxz Van mreze
Administrator
Registrovan od:03.02.2009
Postovi:10,611


Predmet:Re: Bat file za otvaranje i zatvaranje foldera
Naredba je psKill
Usage: pskill [- ] [-t] [\\computer [-u username] [-p password]] <process name | process id>-    Displays the supported options.
-t    Kill the process and its descendants.
\\computer    Specifies the computer on which the process you want to terminate is executing. The remote computer must be accessible via the NT network neighborhood.
-u username    If you want to kill a process on a remote system and the account you are executing in does not have administrative privileges on the remote system then you must login as an administrator using this command-line option. If you do not include the password with the -p option then PsKill will prompt you for the password without echoing your input to the display.
-p password    This option lets you specify the login password on the command line so that you can use PsList from batch files. If you specify an account name and omit the -p option PsList prompts you interactively for a password.
process id    Specifies the process ID of the process you want to kill.
process name    Specifies the process name of the process or processes you want to kill.
Podrška samo putem foruma, jer samo tako i ostali imaju koristi od toga.
↑  ↓

Stranice (1):1


Sva vremena su GMT +01:00. Trenutno vrijeme: 4: 56 pm.