Jump to content











Photo
- - - - -

Mistype in PEShell.ini ?


  • Please log in to reply
5 replies to this topic

#1 smiley2

smiley2

    Newbie

  • Members
  • 13 posts

Posted 26 February 2007 - 03:24 PM

IMHO this line
Command Prompt=%SystemRoot%\System32\Cmd.exe /k cd /d "%SystemDrive%\"
is correct, the last " is missing in the original

...\Projects\VistaPE\Build\system32\PEShell.ini

:P

#2 valentin

valentin
  • .script developer
  • 8 posts

Posted 26 February 2007 - 04:19 PM

[quote name='smiley2' post='10171' date='Feb 26 2007, 04:24 PM']IMHO this line
Command Prompt=#$q%SystemRoot%\System32\Cmd.exe /k cd /d %SystemDrive%#$q
instead

#3 smiley2

smiley2

    Newbie

  • Members
  • 13 posts

Posted 26 February 2007 - 05:38 PM

my version works now. :P

your idea is a little bit different, this quotes the whole right side.
thanks anyway

#4 NightMan

NightMan

    Frequent Member

  • .script developer
  • 433 posts
  • Location:Russian, Moscow

Posted 27 February 2007 - 09:31 PM

smiley2
you don't really need '"' or '#$q' when you use standard short dos name (like x: or x:\programs or x:\progra~1) , %SystemDrive%\ == x:\ at all system :P

#5 smiley2

smiley2

    Newbie

  • Members
  • 13 posts

Posted 05 March 2007 - 01:09 PM

so we have one " too much in the original state of this line.
Removed them all, and it works fine.
THX.

:P

#6 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 March 2007 - 01:35 PM

It's mostly a problem when working with localized sources that will create paths with spaces like "Documents and Settings", adding "" is used for these cases and to avoid fixed path locations.. :P




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users