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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
The RD command has no options, so the directory has to be empty.
Jos