Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11857

[CMD] Problem with the extended variable %~d0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.15
    • Component/s: Shell
    • Labels:
      None

      Description

      The variable %~d0 (= current drive) does not work in cmd:

      @echo %~d0

      The %~d0 should give the current drive letter.
      as example working with removable drive or in batch files.

      best regards
      Blacky

        Attachments

        1. ROSTest_v1.5.zip
          0.9 kB
        2. ROSTest.zip
          0.7 kB
        3. Screen 00001.jpg
          Screen 00001.jpg
          162 kB
        4. setup-update-batch-1.06.bat.zip
          5 kB
        5. Test_in_ROS.JPG
          Test_in_ROS.JPG
          44 kB
        6. Test_in_windows.JPG
          Test_in_windows.JPG
          40 kB

          Issue Links

            Activity

              People

              • Assignee:
                hbelusca hbelusca
                Reporter:
                Blackcrack Blackcrack
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: