Bosna i Hercegovina



#1 13.02.2014-07:36
pmiroslav Offline
Clan
Registrovan/a od: 02.02.2009-10:32
Komentari: 1,405


Subject: 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 Offline
Administrator
Registrovan/a od: 03.02.2009-16:22
Komentari: 9,944


Subject: 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.
Pozdrav
↑  ↓

Stranice (1): 1


All times are GMT +01:00. Current time: 17.07.2019-19:22.