Thanks Daniel and Christopher.

Daniel, that post was very informative. I think I spent the rest of that
night going through Michael's blog.

On Sunday, October 5, 2014, <[email protected]> wrote:

>  Another way would be to just open up your wim and add the folder.
>
>  the “cmd /c” thing caught me a bunch of times.
>
>  One thing, if your calling an exe, using cmd /c to call it won’t hurt
> anything. So I just use it anytime I’m not sure.
>
>  Sent from Windows Mail
>
>   *From:* Daniel Ratliff
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> *Sent:* ‎Thursday‎, ‎October‎ ‎02‎, ‎2014 ‎20‎:‎53
> *To:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>
>   Take a look at smsts.log. All run command tasks look like this:
>
>
>
> Smsswd.exe /run:PRI00001 “your command here”
>
>
>
> You only ever need to use cmd /c when your command doesn’t actually have a
> .exe associated it. If its just a part of cmd.exe.
>
>
>
> I always use Niehaus’ old post as a reference:
> http://blogs.technet.com/b/mniehaus/archive/2007/03/07/adding-custom-tasks-to-bdd-2007-task-sequences.aspx
>
>
>
> *Daniel Ratliff*
>
>
>
> *From:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');> [mailto:
> [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>] *On
> Behalf Of *Joshua Delaughter
> *Sent:* Thursday, October 2, 2014 8:33 PM
> *To:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> *Subject:* Re: [MDT-OSD] RE: Create C:\Temp During TS
>
>
>
> Followup stupid question, something I've always wondered, but never asked.
>
>
>
> Why does cmd need to be specified, when the TS step is "run command line".
> When first starting out, I just assumed that commands were automatically
> ran with the cmd.exe, but I quickly found out otherwise.
>
>
> Sent from my iPhone
>
>
> On Oct 2, 2014, at 6:00 PM, Marcum, John <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>  I think I forgot the /c. Thanks, I'm gonna try now.
>
>
>
> *From:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');> [
> mailto:[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>] *On
> Behalf Of *Daniel Ratliff
> *Sent:* Thursday, October 02, 2014 1:53 PM
> *To:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> *Subject:* [MDT-OSD] RE: Create C:\Temp During TS
>
>
>
> Straight from our build and capture, has worked for dozens of image builds.
>
>
>
> cmd /c md c:\temp
>
>
>
> *Daniel Ratliff*
>
>
>
> *From:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');> [
> mailto:[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>] *On
> Behalf Of *Marcum, John
> *Sent:* Thursday, October 02, 2014 2:42 PM
> *To:* [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> *Subject:* [MDT-OSD] Create C:\Temp During TS
>
>
>
> This must be the dumbest question I've ever asked, and I've asked some
> really dumb ones……
>
>
>
> I have tried every combination of MKDIR C:\Temp , cmd.exe MKDIR C:\Temp,
> C:\Windows\System32\cmd.exe C:\Temp and even a batch file with @Echo Off
> MKDIR C:\Temp and nothing works. What can I possibly be doing wrong to
> simply create a temp directory in a task sequence on Win 7 x64??????
> Everything I do just times out without creating the directory.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>   * ------------------------------ *
>
> *        John Marcum*
>
>             MCITP, MCTS, MCSA
> *              Desktop Architect*
>
> *   Bradley Arant Boult Cummings LLP*
>     * ------------------------------ *
>
>     <image001.png>
>
>   <image002.png>
>
>
>
>
>  ------------------------------
>
>
> Confidentiality Notice: This e-mail is from a law firm and may be
> protected by the attorney-client or work product privileges. If you have
> received this message in error, please notify the sender by replying to
> this e-mail and then delete it from your computer.
>
>
> The information transmitted is intended only for the person or entity to
> which it is addressed
> and may contain CONFIDENTIAL material. If you receive this
> material/information in error,
> please contact the sender and delete or destroy the material/information.
>  ------------------------------
>
>
> Confidentiality Notice: This e-mail is from a law firm and may be
> protected by the attorney-client or work product privileges. If you have
> received this message in error, please notify the sender by replying to
> this e-mail and then delete it from your computer.
>
>
>  ------------------------------
>
>
> Confidentiality Notice: This e-mail is from a law firm and may be
> protected by the attorney-client or work product privileges. If you have
> received this message in error, please notify the sender by replying to
> this e-mail and then delete it from your computer.
>
>
> The information transmitted is intended only for the person or entity to
> which it is addressed
> and may contain CONFIDENTIAL material. If you receive this
> material/information in error,
> please contact the sender and delete or destroy the material/information.
>


-- 
--
Joshua Delaughter
www.joshuadelaughter.com | www.fromrebeltoriches.com

Reply via email to