Ik vrees niet de man die 10.000 trappen heeft beoefend maar de man die 1 trap 10.000 keer heeft geoefend
Maar je kunt dan ook aan WSH gaan denken.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
'Multiple exclamation marks,' he went on, shaking his head, 'are a sure sign of a diseased mind' (Terry Pratchett, Eric)
Wat is de opzet qua netwerkopbouw?? Het gedrag van dit script misschien via gpo aanpassen?
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".
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.
Of je begint met @ECHO OFFDaarnaast zou ik zowieso voor elke commando @ zetten, zodat je de regel ook niet ziet (mocht je het scherm handmatig weer willen activeren)
is ook een optie
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.
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