Is there a way to delete this file?
Any help would be great
Thanks heaps
Jiao
John
C:\Documents and Settings\Administrator\My Documents
is to a depth of 50 characters. If the path is too deep reduce the path
name, not the file name.
John
John
regards Tony.
John
regards Tony.
Dave at EMR
subst x: C:"\Documents and Settings\Your Username\My Documents"
will substitute the folder path to virtual drive x. You have to use the
"quotation marks as above" when spaces are present in the path or else
the command will fail. After you run the command you should then be
able to try to delete the file from the new drive x, it may have shorten
the path just enough to permit you to delete the file. Once done you
can just delete the substituted drive, that will not delete your folder,
it will only remove the virtual drive associated to the folder. To
delete the drive, once again at the Command Prompt do:
subst x: /d
For help on the command do: subst /?
If that doesn't work you can try using the del command with short file
names. Post again if you need more help.
John
Thanks for the quick reply. I have to admit that what you have suggested I
do is WAAAAY over my head. I think I understand the intent of what you are
suggesting, but haven't a clue how to execute it.
Your suggestion "subst x: C:"\Documents and Settings\Your Username\My
Documents""
Does this mean using "Run" from the "Start" menu enter on the command line....
subst x : C: "the path including file name"
Then to delete virtual drive.....
Using "Run" again.....
subst x: /d....where x is the virtual drive and d is my hard drive.
When I do the substitution does x become a file/icon in the "My Documents"
folder that I can just then delete?
Thanks for your help.
Dave
1- Click on Start Menu | Run
2- In the Run dialogue box type cmd and then press <Enter> or click
on OK.
3- A command session will open, you will then be at the "Command Prompt".
4- Now type in the subst command as described earlier, DO NOT include
the filename in the path.
5- Open Explorer and you will now see drive X, explore the drive and
see if you can now delete the file.
6- Once done delete the virtual drive that you created earlier.
John
Hint: You can copy and paste at the Command Prompt, it saves you from
having to type in the long path and prevents errors. You can copy the
path from the Explorer Address Bar and paste it in the command window.
Thank you for walking me through the procedure. I don't often get into the
inner workings of software. Your step by step instruction was extremely
helpful.
It worked great and the file is gone. I plan to keep your instuctions for
possible future use.
Thanks again,
Dave
John