Jump to content

faxio

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Taiwan

Posts posted by faxio

  1. you can use Java script (WSH) to Completely hide cmd Window , Perfect ! :thumbup

    example.js

    //  this's  Java Script example
    var CmdPath = "your cmd path\\example.cmd";
    var cmd1 = "%windir%\\System32\\cmd.exe /c " + CmdPath;
    var WshShell = WScript.CreateObject("WScript.Shell");

    return1 = WshShell.Run(Cmd1,0,true);

    autounattend.xml

    in specialize or audituser

    <settings pass="specialize">
    <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Order>1</Order>
    <Path>cscript %windir%\Setup\example.js</Path>[/color]
    <Description>Run Jscript</Description>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    </settings>

    example.cmd

     
    @echo off
    %CDROM%\Install\nero\INSTALL.CMD
    %DVDRoot%\setupcommand...."
    and more ....

    Sorry ! My English is poor. :blushing:

×
×
  • Create New...