I'm trying to get a batch file to delete files from a certain directory. The path to the folder includes folder names that are two words long. I have truncated all file names that are longer than 8 characters with the ~1. I'm unable to get past the spaces though. Here is an example:
The actual path is:
C:\Documents and Settings\jobapplicant\Local Settings\Temporary Internet Files\*.*
The path in the batch file looks like this:
c:\Docume~1\jobapp~1\Local ~1\Tempor~1\*.*
The problem is with the folder Local Settings. In the path I've created in the second example, notice the space found between "l" and "~". How can I get DOS to compensate for this space?
Any and all information will be greatly appreciated.
Thanks,
Magus