Menu

File Rename

General
2018-01-24
2018-01-25
  • Stephen Dyson

    Stephen Dyson - 2018-01-24

    Hi Jos,
    I dont know if this is known behaviour. It seems that REN on the command line only seems to work on the current disk.
    For Example. if the command prompt is E:\XXXX> then REN D:\TEMP\STRICTLY.PDF DANCING.PDF will have no effect but if your command prompt is D:\SOME\WHERE\ELSE> then REN D:\TEMP\STRICTLY.PDF DANCING.PDF works as expected.
    Hope this helps.
    Regrads,
    Steve

     
    • Jos Schaars

      Jos Schaars - 2018-01-24

      Good find, the drive letter is ignored. vDos tries to rename the file on the current drive, and doesn’t report an error. I’ll fix that.

      Jos

       
  • Stephen Dyson

    Stephen Dyson - 2018-01-25

    Thanks Jos.
    Are there any command line options for RD that will delete a non-empty directory or does the directory have to be empty before RD can be used?
    Steve

     
    • Jos Schaars

      Jos Schaars - 2018-01-25

      The RD command has no options, so the directory has to be empty.

      Jos

       
MongoDB Logo MongoDB