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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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