[2000] Command prompt minimaliseren

Pagina: 1
Acties:
  • 270 views sinds 30-01-2008
  • Reageer

  • cool0
  • Registratie: Februari 2001
  • Laatst online: 02-10-2024
Ik heb een login script gemaakt (Bat bestand) als ik nu aanlog dan laat windows die prompt zien dus je ziet gewoon wat er gebeurd nu wil ik dus ervoor zorgen dat op het moment dat die file start hij geminimaliseerd wordt. Is dit te doen via een Command Line opdracht?

Ik vrees niet de man die 10.000 trappen heeft beoefend maar de man die 1 trap 10.000 keer heeft geoefend


  • F_J_K
  • Registratie: Juni 2001
  • Niet online

F_J_K

Moderator CSA/PB

Front verplichte underscores

C:\>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
Maar je kunt dan ook aan WSH gaan denken.

'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind' (Terry Pratchett, Eric)


  • sanfranjake
  • Registratie: April 2003
  • Niet online

sanfranjake

Computers can do that?

(overleden)
Wat is de opzet qua netwerkopbouw?? Het gedrag van dit script misschien via gpo aanpassen?

Mijn spoorwegfotografie
Somda - Voor en door treinenspotters


Verwijderd

Als je het bat bestand gewoon aanspreek vanuit je windows opstart map, dan zou je het heel simpel kunnen regelen door het bat bestand via een snel koppeling aan te laten roepen, en in deze snelkoppeling aan te vinken "geminimaliseerd uitvoeren".

  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

Daarnaast zou ik zowieso voor elke commando @ zetten, zodat je de regel ook niet ziet (mocht je het scherm handmatig weer willen activeren)

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.


  • downtime
  • Registratie: Januari 2000
  • Niet online

downtime

Everybody lies

Daarnaast zou ik zowieso voor elke commando @ zetten, zodat je de regel ook niet ziet (mocht je het scherm handmatig weer willen activeren)
Of je begint met @ECHO OFF >:)

  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

is ook een optie O-)

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.


  • DaRealRenzel
  • Registratie: November 2000
  • Laatst online: 21-04 11:42

DaRealRenzel

Overtuigd Dipsomaan

Als je je script in een Group Policy stopt (user configuration, windows settings, scripts, Logon script, show files, creer nieuwe BAT of CMD file, edit deze met je text en zo, script sluite, venster sluiten, click Add, selecteer de file en klaar is klara) dan kun je ook in de GPO zetten dat 'Run logon script synchronuously' - betekent dat je desktop pas opkomt nadat de scripts klaar zijn - users kunnen dan dus pas apps starten als je script (met mappings en zo) gerund is, en 'run logon scripts visible' is een setting die bepaald of er al dan niet een DOS window te zien is. Op windows 2003 heb je ook een 'run legacy scripts hidden' optie, die laat ook oudere scripts niet in een venster lopen. Kan je ook op windows 2000 server/AD gebruiken, maar dan moet je wel een nieuwere .ADM downloaden

Nothing is a problem once you've debugged the code

Pagina: 1