Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by yballan
at 2024-11-15 11:24:45
Point:500 Replies:9 POST_ID:828796USER_ID:11701
Topic:
MS DOS;;
I have just restored a mailbox from an old backup, and some of the messages downloaded have names too long for our file system.
I have tried to rename them, but it comes back saying that that file name is not found.
(I am using ren command from DOS command prompt)
I have shortened the folder name that contains these messages to one character, there is nothing else I can shave off.
Isn't there a DOS command that forces to delete everything in the folder, such as del *.*?
(this also comes back that file name is too long.)
I think the key is to rename the files, but I have had no success.
Please advise.
I have tried to rename them, but it comes back saying that that file name is not found.
(I am using ren command from DOS command prompt)
I have shortened the folder name that contains these messages to one character, there is nothing else I can shave off.
Isn't there a DOS command that forces to delete everything in the folder, such as del *.*?
(this also comes back that file name is too long.)
I think the key is to rename the files, but I have had no success.
Please advise.
Expert: dragon-it replied at 2024-11-15 16:08:53
another good one for this is to use robocopy aswell,
robocopy c:empty c:rokendir /purge
the files in c:rokendir are then removed as c:empty has nothing in it.
steve
robocopy c:empty c:rokendir /purge
the files in c:rokendir are then removed as c:empty has nothing in it.
steve
Expert: duncanb7 replied at 2024-11-15 13:06:22
thanks and good to hear you solved it
Have a nice day and a good weekend
Have a nice day and a good weekend
Author: yballan replied at 2024-11-15 13:02:43
thank you, by using SUBST and del /F *.*, I was finally able to get those files removed!!
Expert: bevhost replied at 2024-11-15 12:58:49
Renaming any long folder names to have just a single character will also help.
You have just 255 characters limit in total.
You have just 255 characters limit in total.
Assisted Solution
Expert: bevhost replied at 2024-11-15 12:56:54
250 points EXCELLENT
There is a dos command called SUBST which allows you to assign a drive letter to some folder
eg
SUBST K: C:fooarsomelongpath
Now you can access further down the tree from K:
eg
SUBST K: C:fooarsomelongpath
Now you can access further down the tree from K:
Expert: duncanb7 replied at 2024-11-15 12:29:28
Could you capture or send us the error response on command shell
so that we can fully understand your question ?
Please show us every command you input on the command shell
so that we can fully understand your question ?
Please show us every command you input on the command shell
Author: yballan replied at 2024-11-15 12:10:29
Dear Duncan, thank you for a quick response. I did try those commands, but the same error message.
Dear guswebb,
The full path of the folder is c:I and c:DI.
Dear guswebb,
The full path of the folder is c:I and c:DI.
Expert: guswebb replied at 2024-11-15 11:39:25
what is the full path of the folder?
Accepted Solution
Expert: duncanb7 replied at 2024-11-15 11:33:16
250 points EXCELLENT
Isn't there a DOS command that forces to delete everything in the folder, such as del *.*?
Do you try this ?
del /F *.*
Or
del /F /S *.* (delete the directory's sub directory but take care of it )
Duncan