Announcement

Collapse
No announcement yet.

brackets quotes etc.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • commhorizons
    replied
    Not sure I understand your question. Couldn't you use SessionVar.Expand with %TempFolder% and %WindowsFolder% ?

    Leave a comment:


  • par
    started a topic brackets quotes etc.

    brackets quotes etc.

    can someone help me with the following line in setup factory 9.5.0.0

    Code:
    _SystemDrive = (SessionVar.Expand("%SystemDrive%"));
    _TempFolder = (SessionVar.Expand("%SystemDrive%").."\\temp");
    File.Run(_SystemDrive.."\\apps\\ai1\\7z.exe", [[a "c:\temp\logs.7z" -xr!dism.log -ir!"c:\windows\logs\*.log" -ir!"c:\windows\logs\*.txt" -ir!"c:\windows\debug\netsetup.log" -ir!"c:\windows\system32\winpeshl.log"]], "", SW_HIDE, true)
    it works like a charm but i am failing to see how i can use _TempFolder instead of c:\temp and _WindowsFolder instead of c:\windows between the [[ ]]

    thanx in advance
Working...
X