Reply To: UpperLowerProper

Home Forums Projects UpperLowerProper Reply To: UpperLowerProper

#3458
DeVaultSetter
Keymaster

    A console application would be fun, and as we are dealing with file/folder names – (after Bill Gates) one line should be more than enough. 🙂
    Another milestone in either case is knowing what the filesystem is, thus not providing support for FAT volumes under Windows which contain only upper case file/folder names.
    And detect UNC paths, as renaming files or running batch files from such media will require leaping through more hoops:

    call :isUncPath C:
    if %errorlevel% == 0 echo C: is on UNC
    exit /b

    :IsUncPath
    ::: param1 – drive letter with colon, ex Y:
    ::: @return exitcode 0 – drive is network mapped
    net use %~1 >nul 2>&1
    EXIT /B %errorlevel%

    A welcome invitation to any players of a lightly modded Fallout NV install that wish to try out how the game performs on Linux, exists to sample delights of the lower case filename and xEdit rename utilities at the first opportunity. 🙂