|
|
|
|
Strumenti |
10-12-2018, 12:15 | #1 |
Senior Member
Iscritto dal: Jan 2014
Messaggi: 1253
|
Setupcomplete.cmd non riesco a copiare un file
stò letteralmente impazzendo
parliamo di win10 ho creato: - la cartella $oem$\$$\setup\scripts\setupcomplete.cmd all'interno ho scritto questo: xcopy %homedrive%\unattended\InstPrep.cmd "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup" /c /h /r /k - la cartella $oem$\$1\unattended (cosi da copiare tutta cartella automaticamente in c:\) a fine installazione non parte un benemerito tubo tramite esecuzione automatica (start menu) perchè non copia il file instprep.cmd però se lancio in comando da cmd una volta in windows parte perchè non viene eseguito il comando del file setupcomplete.cmd dove sbaglio ? Ultima modifica di mattware : 10-12-2018 alle 13:03. |
10-12-2018, 12:58 | #2 |
Senior Member
Iscritto dal: Mar 2008
Messaggi: 17965
|
https://docs.microsoft.com/en-us/win...-windows-setup
Run a script after setup is complete (SetupComplete.cmd) Order of operations After Windows is installed but before the logon screen appears, Windows Setup searches for the SetupComplete.cmd file in the %WINDIR%\Setup\Scripts\ directory. If a SetupComplete.cmd file is found, Windows Setup runs the script. Windows Setup logs the action in the C:\Windows\Panther\UnattendGC\Setupact.log file. Setup does not verify any exit codes or error levels in the script after it executes SetupComplete.cmd. |
10-12-2018, 13:02 | #3 |
Senior Member
Iscritto dal: Jan 2014
Messaggi: 1253
|
ovviamente so come si fà...solo che è il comando all'interno del file setupcomplete.cmd che non parte, come ho scritto chiaramente
|
10-12-2018, 13:20 | #4 |
Senior Member
Iscritto dal: Mar 2008
Messaggi: 17965
|
|
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 06:36.