4 ms·
Paths can drop the drive letter e.g. del \file will try to delete a file in the root of the current drive. On modern Windows you can use slash, but you have to
by hnick 6y ago
Paths can drop the drive letter e.g. del \file will try to delete a file in the root of the current drive.
On modern Windows you can use slash, but you have to quote the argument e.g. dir "C:/windows"
You can even mix both types together e.g. dir "C:/windows\system32" which is convenient when using code modules that only output unix style paths. No need to clean them up.