Jump to content

Recommended Posts

Posted

Sorry to keep going on about this, but I feel that something isn't quite right in WPI 5.0.1.

In Windows, the SystemDrive variable is "C:"

But in WPI 5.0.1 I think it outputs as "C:\"

this sounds very picky from me, but it is actually causing me a problem with running the command

%WINDIR%System32\FSUTIL.exe dirty set %SystemDrive% as the FSUTIL command only works with "C:" and not "C:\"

Would it be possible to change all the environment variables that is used in WPI 5.0.1 to match how Windows outputs them as?

Another Example is:

Windows sees %WINDIR% as "C:\Windows" - WPI sees it as "C:\Windows\"


Posted

You're absolutely true. An unnecessary slash is added to some env. variables. See the ReplacePath() function in generate.js.

I think it's a legacy from the time where env. vars were not directly accessible in WPI, so we could tweak them anyway.

I agree with you that we shouldn't depart from what it is in windows.

And that should be easy to fix ... provided there is no objection to reversing it!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...