Duas questoes sobre o vista

Windows, Linux, BeOS e tudo o mais

Moderadores: Administradores, Moderadores

Duas questoes sobre o vista

Mensagempor tiagolourenco » Quinta Ago 16, 2007 13:13

boas.
Estou a utilizar o windows vista home premium, q vinha por defeito no meu portatil, e tenho duas questoes relativas ao seu funcionamento.

1) praticamente sempre que movia um ficheiro ou o alterava, aparecia-me um aviso para confirmar q era administrador ou qq coisa assim, o que era bastante chato. a forma que achei para resolver isso foi desactivar o controlo de conta de utilizador, mas dado que isso "não é recomendado" pelo vista, deve haver uma solução alternativa não?

2) ha alguma forma de eu alterar a prioridade dos processos no task manager, mas de o fazer de forma definitiva? é que eu quero que um jogo corra sempre em prioridade "alta", mas nao dá muito jeito ter que ir sempre ao task manager alterar, porque a prioridade por defeito é "normal".


é tudo,
Cumps
Intel p4@ 1.7Ghz
512mb ddr400
mx420 64mb agp4x
AsRock P4S61
Sennheiser HD202
Samsung 17' CRT
Avatar do Utilizador
tiagolourenco
Aprendiz
Aprendiz
 
Mensagens: 74
Registado: Domingo Out 16, 2005 20:06

Re: Duas questoes sobre o vista

Mensagempor [PT]CableGuy » Sábado Ago 18, 2007 15:35

tiagolourenco Escreveu:boas.
Estou a utilizar o windows vista home premium, q vinha por defeito no meu portatil, e tenho duas questoes relativas ao seu funcionamento.

1) praticamente sempre que movia um ficheiro ou o alterava, aparecia-me um aviso para confirmar q era administrador ou qq coisa assim, o que era bastante chato. a forma que achei para resolver isso foi desactivar o controlo de conta de utilizador, mas dado que isso "não é recomendado" pelo vista, deve haver uma solução alternativa não?
Face aos bugs que o vista tem...acho que nem te deves preocupar com isso. :wink:

tiagolourenco Escreveu:2) ha alguma forma de eu alterar a prioridade dos processos no task manager, mas de o fazer de forma definitiva? é que eu quero que um jogo corra sempre em prioridade "alta", mas nao dá muito jeito ter que ir sempre ao task manager alterar, porque a prioridade por defeito é "normal".


é tudo,
Cumps


Código: Seleccionar todos
help start
Starts a separate window to run a specified program or command.

START ["title"] [/Dpath] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/WAIT] [/B] [command/program]
      [parameters]

    "title"     Title to display in  window title bar.
    path        Starting directory
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the application
                enables ^C processing, ^Break is the only way to interrupt
                the application
    I           The new environment will be the original environment passed
                to the cmd.exe and not the current environment.
    MIN         Start window minimized
    MAX         Start window maximized
    SEPARATE    Start 16-bit Windows program in separate memory space
    SHARED      Start 16-bit Windows program in shared memory space
    LOW         Start application in the IDLE priority class
    NORMAL      Start application in the NORMAL priority class
    HIGH        Start application in the HIGH priority class
    REALTIME    Start application in the REALTIME priority class
    ABOVENORMAL Start application in the ABOVENORMAL priority class
    BELOWNORMAL Start application in the BELOWNORMAL priority class
    WAIT        Start application and wait for it to terminate
    command/program
                If it is an internal cmd command or a batch file then
                the command processor is run with the /K switch to cmd.exe.
                This means that the window will remain after the command
                has been run.

                If it is not an internal cmd command or batch file then
                it is a program and will run as either a windowed application
                or a console application.

    parameters  These are the parameters passed to the command/program


If Command Extensions are enabled, external command invocation
through the command line or the START command changes as follows:

non-executable files may be invoked through their file association just
    by typing the name of the file as a command.  (e.g.  WORD.DOC would
    launch the application associated with the .DOC file extension).
    See the ASSOC and FTYPE commands for how to create these
    associations from within a command script.

When executing an application that is a 32-bit GUI application, CMD.EXE
    does not wait for the application to terminate before returning to
    the command prompt.  This new behavior does NOT occur if executing
    within a command script.

When executing a command line whose first token is the string "CMD "
    without an extension or path qualifier, then "CMD" is replaced with
    the value of the COMSPEC variable.  This prevents picking up CMD.EXE
    from the current directory.

When executing a command line whose first token does NOT contain an
    extension, then CMD.EXE uses the value of the PATHEXT
    environment variable to determine which extensions to look for
    and in what order.  The default value for the PATHEXT variable
    is:

        .COM;.EXE;.BAT;.CMD

    Notice the syntax is the same as the PATH variable, with
    semicolons separating the different elements.

When searching for an executable, if there is no match on any extension,
then looks to see if the name matches a directory name.  If it does, the
START command launches the Explorer on that path.  If done from the
command line, it is the equivalent to doing a CD /D to that path.

Dica: START /HIGH /B "caminho_para_o_executavel"
[PT]CableGuy
Gurus
Gurus
 
Mensagens: 1845
Registado: Domingo Mai 30, 2004 16:26

Mensagempor PsicoPete » Sábado Ago 18, 2007 17:05

[PT]CableGuy, há alguma forma de criar um atalho tipo batch file que faça isso bastando clicar?
Ou mesmo alterando as propriedades do próprio atalho do jogo/programa em questão?
Estive a tentar fazer isso mas não consegui...

Cumps.
Imagem
"Some men see things as they are and say why - I dream things that never were and say why not." - George Bernard Shaw
PsicoPete
Membro Vitalício
Membro Vitalício
 
Mensagens: 2389
Registado: Sábado Ago 14, 2004 12:22

Mensagempor tiagolourenco » Domingo Ago 19, 2007 17:20

PsicoPete Escreveu:[PT]CableGuy, há alguma forma de criar um atalho tipo batch file que faça isso bastando clicar?
Ou mesmo alterando as propriedades do próprio atalho do jogo/programa em questão?
Estive a tentar fazer isso mas não consegui...

Cumps.


isso é que dava alta jeitao!

pelo que entendi, PT cableguy, teria que escrever sempre isso cada vez que ia iniciar o programa, certo?

obgd pela resposta btw. cumps
Intel p4@ 1.7Ghz
512mb ddr400
mx420 64mb agp4x
AsRock P4S61
Sennheiser HD202
Samsung 17' CRT
Avatar do Utilizador
tiagolourenco
Aprendiz
Aprendiz
 
Mensagens: 74
Registado: Domingo Out 16, 2005 20:06

Mensagempor [PT]CableGuy » Segunda Ago 20, 2007 16:39

Para criarem um "shortcut high" basta alterarem um já existente.
Exemplo:

Arrastam o icon da aplicação para o ambiente de trabalho e editam as propriedades do mesmo e acrescentam (no principio) cmd.exe /c start /high /b
Ficaria algo do género: cmd.exe /c start /high /b windir%\system32\calc.exe

NOTA: No caso do caminho para a aplicação conter espaços, basta colocarem entre aspas. "%windir%\system32\calc.exe"
[PT]CableGuy
Gurus
Gurus
 
Mensagens: 1845
Registado: Domingo Mai 30, 2004 16:26

Mensagempor tiagolourenco » Terça Ago 21, 2007 13:25

Imagem

é aí q tenho de alterar?

o q está escrito no destino é:
C:\Windows\System32\cmd.exe /c start /high /b "C:\Program Files\Quake III Arena\quake3.exe"

mas qdo abro esse atalho ele apenas abre uma linha de comandos na pasta c:\prog fil\quake iii arena\

alguma ideia? fiz alguma cena mal?
obgd dsd ja
Intel p4@ 1.7Ghz
512mb ddr400
mx420 64mb agp4x
AsRock P4S61
Sennheiser HD202
Samsung 17' CRT
Avatar do Utilizador
tiagolourenco
Aprendiz
Aprendiz
 
Mensagens: 74
Registado: Domingo Out 16, 2005 20:06

Mensagempor [PT]CableGuy » Terça Ago 21, 2007 14:10

Huummm...tenta assim:

Código: Seleccionar todos
C:\Windows\System32\cmd.exe "C:\Program Files\Quake III Arena\" /c start /high /b quake3.exe"


Exemplo:

cmd "directoria do executavel" /c /start /high /b executavel
[PT]CableGuy
Gurus
Gurus
 
Mensagens: 1845
Registado: Domingo Mai 30, 2004 16:26

Mensagempor tiagolourenco » Terça Ago 21, 2007 14:15

era isso mesmo, agora funciona, muitíssimo obrigado.
Intel p4@ 1.7Ghz
512mb ddr400
mx420 64mb agp4x
AsRock P4S61
Sennheiser HD202
Samsung 17' CRT
Avatar do Utilizador
tiagolourenco
Aprendiz
Aprendiz
 
Mensagens: 74
Registado: Domingo Out 16, 2005 20:06


Voltar para Sistemas Operativos

Quem está ligado:

Utilizador a ver este Fórum: Nenhum utilizador registado e 1 visitante